API reference · Types
ChangeRequestLine
Part of the response of 7 operations and the payload of order.change_request.created and order.change_request.resolved.
Type: object
Example
{
"line_ref": "oln_1f0c8a4d7e2b45c9a1d6f3b8e07c9241",
"name": "Abyssal Nightstalker",
"quantity": 2,
"sku_id": 14602,
"product_id": 86,
"ordered": {
"name": "Abyssal Nightstalker",
"set": "Portal Second Age",
"language": "EN",
"finish": "Normal",
"rarity": "U",
"condition": "NM",
"collector_number": null
},
"action": "substitute",
"substitute": {
"listing_id": 5021,
"sku_id": 363348,
"product_id": 86,
"external_ref": "platform-listing-1043",
"name": "Abyssal Nightstalker",
"set": "Portal Second Age",
"language": "EN",
"finish": "Normal",
"rarity": "U",
"condition": "LP",
"collector_number": null,
"printing": "Normal"
},
"credit_cents": 100,
"dispositions": null
}Fields
line_refstring requiredThe purchase line the request names, the same
line_refthe order carries (STABLE).Example
oln_1f0c8a4d7e2b45c9a1d6f3b8e07c9241namestring requiredThe line title, or
SKU <sku_id>when the catalog had none (STABLE).Example
Abyssal Nightstalkerquantityinteger requiredHow many units of the line the request covers (STABLE).
Constraints: exclusive minimum: 0 Example
2sku_idinteger requiredThe SKU the line was sold as (STABLE).
Example
14602product_idinteger or null requiredThe product that SKU belongs to; null on a request recorded before it was kept (STABLE).
Example
86orderedobject requiredThe card the buyer ordered, as the request recorded it. A fact the request never recorded is null (STABLE).
Show child fieldsHide child fields
ordered.string or null requiredname The card title (STABLE).
Example
Abyssal Nightstalkerordered.string or null requiredset The set the printing belongs to; null when it was never recorded (STABLE).
Example
Portal Second Ageordered.string or null requiredlanguage The printing language; null when it was never recorded (STABLE).
Example
ENordered.string or null requiredfinish The printing or finish, such as
Foil; null when never recorded (STABLE).Example
Normalordered.string or null requiredrarity The rarity; null when it was never recorded (STABLE).
Example
Uordered.string or null requiredcondition The condition grade; null when it was never recorded (STABLE).
Example
NMordered.string or null requiredcollector_number The collector number as the catalog states it, such as
161/302; null when never recorded (STABLE).Example
null
actionstring requiredremoveon everycancel_linesline and on a report line that removes units.substituteon a report line that ships a replacement named insubstituteat a per-unitcredit_cents.spliton a report line whose units go several ways, listed indispositions(STABLE).Constraints: allowed values:
remove,substitute,splitExamplesubstitutesubstituteChangeor null requiredRequest Substitute The replacement on a
substituteline; null on every other line (STABLE).Show child fieldsHide child fields
substitute.integer requiredlisting_id Snapcaster's id for the seller listing offered in place of the line (STABLE).
Example
5021substitute.integer requiredsku_id The SKU the line ships as once the report is accepted (STABLE).
Example
363348substitute.integer requiredproduct_id The product, the same one the replaced line belongs to (STABLE).
Example
86substitute.string or null requiredexternal_ref Your platform's reference on that listing when the report was filed; null when none was sent (STABLE).
Example
platform-listing-1043substitute.string or null requiredname The card title (STABLE).
Example
Abyssal Nightstalkersubstitute.string or null requiredset The set the printing belongs to; null when it was never recorded (STABLE).
Example
Portal Second Agesubstitute.string or null requiredlanguage The printing language; null when it was never recorded (STABLE).
Example
ENsubstitute.string or null requiredfinish The printing or finish, such as
Foil; null when never recorded (STABLE).Example
Normalsubstitute.string or null requiredrarity The rarity; null when it was never recorded (STABLE).
Example
Usubstitute.string or null requiredcondition The condition grade; null when it was never recorded (STABLE).
Example
LPsubstitute.string or null requiredcollector_number The collector number as the catalog states it, such as
161/302; null when never recorded (STABLE).Example
nullsubstitute.string or null requiredprinting The same fact as
finish, under the catalog name (STABLE).Example
Normal
credit_centsinteger or null requiredThe credit per unit on a
substituteline, in cents; null on every other line (STABLE).Example
100dispositionsarray of object or null requiredOn a
splitline, each portion in the order the seller listed them; null on every other line (STABLE).Show child fieldsHide child fields
dispositions[].string requiredaction What happens to this portion (STABLE).
Constraints: allowed values:
remove,substitutedispositions[].integer requiredquantity How many of the line units go this way (STABLE).
Constraints: exclusive minimum: 0
dispositions[].substitute Changeor null requiredRequest Substitute The replacement on a
substituteline; null on every other line (STABLE).Show child fieldsHide child fields
dispositions[].integer requiredsubstitute. listing_id Snapcaster's id for the seller listing offered in place of the line (STABLE).
dispositions[].integer requiredsubstitute. sku_id The SKU the line ships as once the report is accepted (STABLE).
dispositions[].integer requiredsubstitute. product_id The product, the same one the replaced line belongs to (STABLE).
dispositions[].string or null requiredsubstitute. external_ref Your platform's reference on that listing when the report was filed; null when none was sent (STABLE).
dispositions[].string or null requiredsubstitute. name The card title (STABLE).
dispositions[].string or null requiredsubstitute. set The set the printing belongs to; null when it was never recorded (STABLE).
dispositions[].string or null requiredsubstitute. language The printing language; null when it was never recorded (STABLE).
dispositions[].string or null requiredsubstitute. finish The printing or finish, such as
Foil; null when never recorded (STABLE).dispositions[].string or null requiredsubstitute. rarity The rarity; null when it was never recorded (STABLE).
dispositions[].string or null requiredsubstitute. condition The condition grade; null when it was never recorded (STABLE).
dispositions[].string or null requiredsubstitute. collector_number The collector number as the catalog states it, such as
161/302; null when never recorded (STABLE).dispositions[].string or null requiredsubstitute. printing The same fact as
finish, under the catalog name (STABLE).
dispositions[].integer or null requiredcredit_cents The credit per unit for a
substituteportion; null for a removal (STABLE).
Used by
GET /orders/{orderId}/change-requests- List an order's change requests (response)POST /orders/{orderId}/change-requests- File a fulfillment report (response)POST /orders/{orderId}/change-requests/{requestId}/accept- Accept a change request (response)POST /orders/{orderId}/change-requests/{requestId}/decline- Decline a change request (response)POST /orders/{orderId}/change-requests/{requestId}/withdraw- Withdraw a fulfillment report (response)POST /sandbox/orders/{orderId}/change-requests- Have the sandbox buyer ask for a change (response)POST /sandbox/orders/{orderId}/change-requests/{requestId}/answer- Have the sandbox buyer answer a fulfillment report (response)order.change_request.created- Change request created (payload)order.change_request.resolved- Change request resolved (payload)