Skip to content
snapcasterDevelopers

InventoryAdjustedLine

Reusable InventoryAdjustedLine schema.

Type: object

Fields

FieldTypeConstraintsMeaningExample
sku_idrequiredintegerNoneCanonical TCGplayer sku id, the same id the listing push uses (STABLE).0 (generated)
external_refrequiredstring or nullNoneEcho of the Seller's opaque listing ref, untouched, so the delta applies against the Platform's own product id; null if the Listing carried none (STABLE).string (generated)
deltarequiredintegerNoneSigned unit adjustment: negative commits units (a sale), positive releases them (a cancellation/refund). Apply idempotently as `on_hand += delta` (STABLE).0 (generated)

Examples

Generated Schema example: Generated InventoryAdjustedLine
{
"sku_id": 0,
"external_ref": "string",
"delta": 0
}

Source commit: 64bff06fe339e6ffa0ef24cd7da55cb3efefefb9