Object
Nested in APIorder_item
A line item on an order.
Nested under order.items on order detail responses.
Exposure
Appears nested inside Merchant API responses (not a top-level route).
What
The order_item object is the JSON / domain shape for this resource in RetailLink.
Why
Use these fields when integrating — not scraped Admin HTML — so sync jobs and apps stay stable across UI changes.
How
Read each property below — description first, then that property's Code / Data / Output (or type). Use the sticky example JSON on the right as a full fixture.
Properties
7 fields on order_item. Types link to related objects when available. Snippets for a property appear under that property.
id
stringLine item id.
id: stringquantity
numberQuantity ordered.
quantity: numberreturnedQuantity
numberQuantity already returned against this line.
returnedQuantity: numberprice
numberUnit price at time of sale.
price: numbertotal
numberLine total.
total: numberproduct
objectSnapshot reference `{ id, title }` for the product.
product: objectvariant
objectSnapshot reference `{ id, title, sku }` for the variant.
variant: object