API reference · Types
OrderWebhookLine
Part of the response of 7 operations and the payload of order.created and order.updated.
Type: object
Example
{
"line_ref": "oln_1f0c8a4d7e2b45c9a1d6f3b8e07c9241",
"sku_id": 14602,
"product_id": 86,
"quantity": 1,
"unit_price": 2499,
"name": "Abyssal Nightstalker",
"set": "Portal Second Age",
"condition": "NM",
"external_ref": "platform-listing-1042",
"collector_number": null,
"language": "English",
"finish": "Non-Foil"
}Fields
line_refstring requiredThe purchase-line reference, for example
oln_1f0c…. It identifies WHICH PURCHASE this line is, wheresku_ididentifies which card. One order can hold two lines of the samesku_idbought at different times and prices, so key your fulfillment records on this field. It is also what you send back inlines[].lineRefwhen you cancel or refund a line.Example
oln_1f0c8a4d7e2b45c9a1d6f3b8e07c9241sku_idinteger requiredCanonical TCGplayer SKU id (STABLE).
Example
14602product_idinteger requiredCanonical TCGplayer product id (STABLE).
Example
86quantityinteger requiredThe number of units.
Example
1unit_priceinteger requiredInteger minor units (cents) in the order currency (STABLE).
Example
2499namestring or null requiredDescriptive snapshot, frozen at order time (STABLE).
Example
Abyssal Nightstalkersetstring or null requiredThe card set or expansion.
Example
Portal Second Ageconditionstring or null requiredThe normalized condition assigned to the card.
Example
NMexternal_refstring or null requiredThe seller's listing reference, returned unchanged; null if none was supplied (STABLE).
Example
platform-listing-1042collector_numberstring or null requiredThe card's catalog collector number, saved when the order was created, for example
161/302. Null if the catalog had no number or the order predates this field. An additive field on the STABLE line.Example
nulllanguagestring or nullThe language of the card printing.
Example
Englishfinishstring or nullThe physical finish or foil treatment of the card.
Example
Non-FoildisclosuresobjectProvenance, grading, and authenticity statements shown to the buyer.
Show child fieldsHide child fields
disclosures.string requiredimage_source Who supplied the product image shown to the buyer.
Constraints: allowed values:
catalogdisclosures.string requiredcondition_source Who assigned the displayed card condition.
Constraints: allowed values:
seller_declareddisclosures.string requiredauthenticity_source Who supplied the authenticity determination.
Constraints: allowed values:
seller_attestationdisclosures.boolean requiredsnapcaster_inspected Whether Snapcaster physically inspected the card.
Constraints: allowed values:
falsedisclosures.boolean requiredsnapcaster_graded Whether Snapcaster assigned the displayed grade.
Constraints: allowed values:
falsedisclosures.boolean requiredsnapcaster_authenticated Whether Snapcaster authenticated the card.
Constraints: allowed values:
falsedisclosures.string requiredgrading_standard The grading standard used for the declared grade.
disclosures.string or null requireddeclared_grade The grade declared for the card under the named standard.
disclosures.string requiredbuyer_protection The buyer-protection coverage attached to this offering.
fulfillment_obligationobjectThe exact item characteristics the seller must fulfill.
Show child fieldsHide child fields
fulfillment_obligation.string requiredsku The SKU that identifies the card variant.
Constraints: allowed values:
exactfulfillment_obligation.string requiredprinting The card printing the seller must supply.
Constraints: allowed values:
exactfulfillment_obligation.string requiredlanguage The language of the card printing.
Constraints: allowed values:
exactfulfillment_obligation.string requiredfinish The physical finish or foil treatment of the card.
Constraints: allowed values:
exactfulfillment_obligation.string requiredcondition The normalized condition assigned to the card.
Constraints: allowed values:
declared-or-better
Used by
GET /orders- Poll orders (response)GET /orders/{orderId}- Get one order (response)PATCH /orders/{orderId}/fulfillment- Update fulfillment (response)POST /orders/{orderId}/cancel- Cancel an order (response)POST /orders/{orderId}/refunds- Create a refund (response)POST /orders/{orderId}/corrections- Correct the ship-to address (response)POST /orders/{orderId}/address-verification/retry- Retry address verification (response)order.created- Order created (payload)order.updated- Order updated (payload)