API reference · Types
ChangeRequestSubstituteCandidateListResponse
Part of the response of GET /orders/{orderId}/substitute-candidates.
Type: object
Example
{
"success": true,
"data": {
"items": [
{
"sku_id": 363348,
"product_id": 86,
"external_ref": "platform-listing-1043",
"available": 1,
"unit_price": 2699,
"name": "Abyssal Nightstalker",
"set": "Portal Second Age",
"condition": "LP",
"language": "EN",
"finish": "Normal"
}
]
}
}Fields
successboolean requiredWhether the operation completed as requested.
Constraints: allowed values:
trueExampletruedataobject requiredThe operation or event payload.
Show child fieldsHide child fields
data.items ChangerequiredRequest Substitute Candidate[] The SKUs the line can be substituted with, cheapest first; empty when none qualify.
Show child fieldsHide child fields
data.integer requireditems[]. sku_id The SKU to send as
substituteSkuId(STABLE).Example
363348data.integer requireditems[]. product_id The catalog product of that SKU, the same one the line's SKU belongs to (STABLE).
Example
86data.string or null requireditems[]. external_ref Your platform's reference on the seller's listing for that SKU; null when none was sent (STABLE).
Example
platform-listing-1043data.integer requireditems[]. available Units of that SKU available now: the listing's quantity less the units other orders hold. Provisional: nothing is held for the substitute until the buyer accepts, and the accept checks stock again (STABLE).
Example
1data.integer requireditems[]. unit_price The listing's price per unit in cents. For reference only: the buyer still pays the line's own
unit_price, less yourcreditCents(STABLE).Example
2699data.string or null requireditems[]. name The card title; null when the catalog has none (STABLE).
Example
Abyssal Nightstalkerdata.string or null requireditems[]. set The set the printing belongs to; null when the catalog has none (STABLE).
Example
Portal Second Agedata.string or null requireditems[]. condition The condition grade; null when the catalog has none (STABLE).
Example
LPdata.string or null requireditems[]. language The printing language; null when the catalog has none (STABLE).
Example
ENdata.string or null requireditems[]. finish The printing or finish, such as
Foil; null when the catalog has none (STABLE).Example
Normal