OrderRefundedData
Reusable OrderRefundedData schema.
Type: object
Fields
| Field | Type | Constraints | Meaning | Example |
|---|---|---|---|---|
order_idrequired | string | None | The Order this Refund covers: the reconcile key (STABLE). | string (generated) |
seller_idrequired | integer | None | Routing target: the Seller that owns the inbound API key (STABLE). | 0 (generated) |
restockrequired | boolean | None | The seller’s explicit declaration that the physical units came back and are sellable again, never inferred. `false` (lost mail, wrong card sent) moves no stock anywhere (STABLE). | true (generated) |
linesrequired | array of object | minimum items: 1 | Exactly the lines (and quantities) this Refund covers (STABLE). | [
{
"sku_id": 0,
"external_ref": "string",
"quantity": 0
}
] (generated) |
lines[].sku_idrequired | integer | None | Canonical TCGplayer sku id, the same id as the order line (STABLE). | 0 (generated) |
lines[].external_refrequired | string or null | None | Echo of the Seller's opaque listing ref; null if the Listing carried none (STABLE). | string (generated) |
lines[].quantityrequired | integer | None | The terminated quantity; may be less than the line’s ordered quantity (STABLE). | 0 (generated) |
Examples
{ "order_id": "string", "seller_id": 0, "restock": true, "lines": [ { "sku_id": 0, "external_ref": "string", "quantity": 0 } ]}