Skip to content
snapcasterDevelopers

LineLookupLine

Reusable LineLookupLine schema.

Type: object

Fields

FieldTypeConstraintsMeaningExample
sellerIdrequiredintegerNoneEcho of the requested cart-line key (with `skuId`).0 (generated)
skuIdrequiredintegerNoneEcho of the requested cart-line key (with `sellerId`).0 (generated)
sellerrequiredobject or nullNoneNull when the Seller is unknown.{ "name": "string" } (generated)
seller.namerequiredstringNoneSeller display name; not a handle/slug.string (generated)
productrequiredobject or nullNoneCanonical Catalog display data; null when the sku is unknown.{ "productId": 0, "name": "string", "set": "string", "image": "string" } (generated)
product.productIdrequiredintegerNoneProduct Id for the surrounding product record.0 (generated)
product.namerequiredstring or nullNoneThe human-readable name of the resource.string (generated)
product.setrequiredstring or nullNoneThe card set or expansion.string (generated)
product.imagerequiredstring or nullNoneThe product image URL shown to the buyer.string (generated)
skurequiredobject or nullNoneCanonical printing descriptors; null when the sku is unknown.{ "condition": "string", "language": "string", "finish": "string" } (generated)
sku.conditionrequiredstring or nullNoneThe normalized condition assigned to the card.string (generated)
sku.languagerequiredstring or nullNoneThe language of the card printing.string (generated)
sku.finishrequiredstring or nullNoneThe physical finish or foil treatment of the card.string (generated)
currentPricerequiredinteger or nullNoneLive Listing price in integer minor units (cents); null when no live Listing backs the pair.0 (generated)
availablerequiredintegerNoneAvailable stock (on-hand minus committed units); 0 when no live Listing backs the pair.0 (generated)
sellerUnavailableobjectNonePresent ONLY when this line’s store fails Checkout readiness; its ABSENCE is the ready signal. The line is never pruned, repriced or reduced because of it - `currentPrice` and `available` stay the Listing’s real live state, and the client decides what the Cart shows. The same store failing across several lines carries the same block on each.{ "sellerId": 0, "reason": "SELLER_ON_VACATION" } (generated)
sellerUnavailable.sellerIdrequiredintegerNoneThe store that cannot take the money, echoing the line key.0 (generated)
sellerUnavailable.reasonrequiredstringallowed values: SELLER_ON_VACATION, SELLER_UNAVAILABLEBuyer-safe category. `SELLER_ON_VACATION` means the store paused itself and is otherwise ready; `SELLER_UNAVAILABLE` is every other cause, deliberately indistinguishable so a store’s private account standing is never published.SELLER_ON_VACATION (generated)
policyobjectNoneThe eligibility and buyer-protection decision for this line.{ "status": "eligible", "error": { "code": "string", "message": "string", "action": "string" } } (generated)
policy.statusrequiredstringallowed values: eligible, blockedThe current lifecycle or policy state of the resource.eligible (generated)
policy.errorrequiredobject or nullNoneStructured error information returned when the request cannot be completed.{ "code": "string", "message": "string", "action": "string" } (generated)
policy.error.coderequiredstringNoneThe stable machine-readable code for this result.string (generated)
policy.error.messagerequiredstringNoneA human-readable explanation of the result.string (generated)
policy.error.actionrequiredstringNoneThe corrective action available for this condition.string (generated)
disclosuresobject or nullNoneProvenance, grading, and authenticity statements shown to the buyer.{ "imageSource": "catalog", "conditionSource": "seller_declared", "authenticitySource": "seller_attestation", "snapcasterInspected": false, "snapcasterGraded": false, "snapcasterAuthenticated": false, "gradingStandard": "snapcaster-magic-v1", "declaredGrade": "string", "buyerProtection": "magic-grade-and-authenticity" } (generated)
disclosures.imageSourcerequiredstringallowed values: catalogImage Source for the surrounding disclosures record.catalog (generated)
disclosures.conditionSourcerequiredstringallowed values: seller_declaredCondition Source for the surrounding disclosures record.seller_declared (generated)
disclosures.authenticitySourcerequiredstringallowed values: seller_attestationAuthenticity Source for the surrounding disclosures record.seller_attestation (generated)
disclosures.snapcasterInspectedrequiredbooleanallowed values: falseSnapcaster Inspected for the surrounding disclosures record.false (generated)
disclosures.snapcasterGradedrequiredbooleanallowed values: falseSnapcaster Graded for the surrounding disclosures record.false (generated)
disclosures.snapcasterAuthenticatedrequiredbooleanallowed values: falseSnapcaster Authenticated for the surrounding disclosures record.false (generated)
disclosures.gradingStandardrequiredstringallowed values: snapcaster-magic-v1, seller-declared-no-specialist-promiseGrading Standard for the surrounding disclosures record.snapcaster-magic-v1 (generated)
disclosures.declaredGraderequiredstring or nullNoneDeclared Grade for the surrounding disclosures record.string (generated)
disclosures.buyerProtectionrequiredstringallowed values: magic-grade-and-authenticity, genuine-and-as-describedBuyer Protection for the surrounding disclosures record.magic-grade-and-authenticity (generated)
fulfillmentObligationobject or nullNoneFulfillment Obligation supplied to or returned by this operation.{ "sku": "exact", "printing": "exact", "language": "exact", "finish": "exact", "condition": "declared-or-better" } (generated)
fulfillmentObligation.skurequiredstringallowed values: exactThe stock-keeping identity for the exact card offering.exact (generated)
fulfillmentObligation.printingrequiredstringallowed values: exactThe exact card printing the Seller is obligated to supply.exact (generated)
fulfillmentObligation.languagerequiredstringallowed values: exactThe language of the card printing.exact (generated)
fulfillmentObligation.finishrequiredstringallowed values: exactThe physical finish or foil treatment of the card.exact (generated)
fulfillmentObligation.conditionrequiredstringallowed values: declared-or-betterThe normalized condition assigned to the card.declared-or-better (generated)

Examples

Generated Schema example: Generated LineLookupLine
{
"sellerId": 0,
"skuId": 0,
"seller": {
"name": "string"
},
"product": {
"productId": 0,
"name": "string",
"set": "string",
"image": "string"
},
"sku": {
"condition": "string",
"language": "string",
"finish": "string"
},
"currentPrice": 0,
"available": 0
}

Source commit: 64bff06fe339e6ffa0ef24cd7da55cb3efefefb9