API reference · Types
TerminationLine
Part of the payload of order.cancelled and order.refunded.
Type: object
Example
{
"line_ref": "oln_1f0c8a4d7e2b45c9a1d6f3b8e07c9241",
"sku_id": 14602,
"external_ref": "platform-listing-1042",
"quantity": 1
}Fields
line_refstring or null requiredThe purchase-line reference of the terminated line, the same
line_refthe order body carries. Reconcile on this field: an order can hold two lines of onesku_id, and only this says which of them was cancelled or refunded. Null only on an event Snapcaster froze before this field existed.Example
oln_1f0c8a4d7e2b45c9a1d6f3b8e07c9241sku_idinteger requiredCanonical TCGplayer SKU id, the same id as the order line (STABLE).
Example
14602external_refstring or null requiredEcho of the seller's opaque listing ref; null if the listing carried none (STABLE).
Example
platform-listing-1042quantityinteger requiredThe cancelled or refunded quantity. It may be less than the quantity ordered for this line (STABLE).
Example
1
Used by
order.cancelled- Order cancelled (payload)order.refunded- Order refunded (payload)