Retrieve an order item
Returns a single order item identified by its primary key, including the nested price, stock and data-source detail objects and the computed discounted_price.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the order item.
The requested order item.
An order item — one unit of one product within an order.
This is the shape returned by GET /order_items/, GET /order_items/{id}/ and PATCH /order_items/{id}/. POST /order_items/ answers with OrderItemCreated, which uses id instead of pk and carries a different set of fields.
The unique identifier of the order item.
The identifier of the ordered product.
The SKU of the ordered product, read through from product.sku. Ignored on write, so a body read from GET can be sent back unchanged. To point the item at a different product, send product instead.
The lifecycle status of an order. Values are numeric strings that increase as the order progresses through its lifecycle.
| Value | Name | Description |
|---|---|---|
50 | cancellation_waiting | Cancellation requested, pending. |
100 | cancelled | Order cancelled. |
200 | waiting | Order created; payment not yet confirmed. |
300 | payment_waiting | Payment initiated, awaiting confirmation. |
350 | confirmation_waiting | Awaiting manual confirmation. |
400 | approved | Payment confirmed; order approved for fulfilment. |
430 | waiting_for_substitute | Waiting for a substitute product. |
450 | preparing | Order being prepared / packed. |
500 | shipped | Order dispatched to carrier. |
510 | shipped_and_informed | Order shipped and customer notified. |
520 | ready_for_pickup | Ready for in-store collection. |
540 | attempted_delivery | Delivery attempted; recipient unavailable. |
544 | review_started | Trade-in review started. |
545 | review_waiting | Trade-in review waiting. |
546 | waiting_for_payment | Waiting for trade-in payment. |
547 | paid | Trade-in payment received. |
550 | delivered | Order delivered to customer. |
600 | refunded | Order refunded. |
700 | merged | Add-on order merged into main order. |
400Possible values: ISO 4217 currency code the order item's price is expressed in.
tryPossible values: The unit price charged for this item, tax included. Up to 12 digits with 2 decimal places.
The VAT rate applied to price, as a percentage (e.g. "18.00"). Up to 5 digits with 2 decimal places.
The number of the invoice issued for this item. An invoiced item can no longer be cancelled.
When the invoice was issued.
Link to the e-archive invoice document.
The carrier's tracking number for this item. Required alongside status 500 for a partial shipping notification to be sent.
The carrier shipping this item.
arasPossible values: The recommended retail price, used to show a strike-through price.
Free-form EAV attributes of the item — for example the unit amount of a weight-sold product, or the inquiry payload of a trade-in item.
On PATCH the submitted object is merged into the stored one rather than replacing it.
Metadata describing how attributes were produced. Replaced outright on PATCH.
The item's own product image. At checkout it is copied from the basket item, so the order keeps the image that was shown at purchase time. Upload a replacement with a multipart/form-data request.
The identifier of the order item this one is attached to — set when the item came from a basket item that was a child of another basket item (an add-on or bundled product), or when it is a trade-in attached to a purchased item. Always another item of the same order.
The identifier of the extra product-price record the item was sold at, when it was not sold at the product's primary price.
The identifier of the extra product-stock record the item was reserved from, when it was not reserved from the product's primary stock.
Free-form data attached to the item. Set at creation to {"price_extra_field": …, "stock_extra_field": …} — a snapshot of the extra_field values of the price and stock records the item was sold from. Anything submitted for this field at creation is discarded; on PATCH the submitted object replaces the stored one.
The delivery date promised to the customer. Informational only — nothing on this endpoint validates it against shipped_date or delivered_date.
An item-level tracking URL. This is the highest-priority tracking URL — when it is set, the item's effective tracking URL is this value, ahead of defined_tracking_url and of the URL derived from shipping_company and tracking_number.
The identifier of the seller / data source fulfilling this item.
The identifier of the shipping option group the item is shipped under.
A free-text carrier name, used for carriers that are not in the shipping_company list.
An explicitly defined tracking URL. Used when shipping_tracking_url is empty, and takes precedence over the URL derived from shipping_company and tracking_number. The effective order is shipping_tracking_url, then defined_tracking_url, then the carrier-derived URL.
When the item was dispatched to the carrier.
When the item was delivered to the customer.
The discount applied to this item. Must be between 0 and price, inclusive.
The price after discount — price minus discount_amount. Computed on read; never stored and never sortable.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested order item does not exist.
GET /api/v1/remote/1/order_items/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"pk": 37,
"product": 944,
"product_sku": "SKU-1",
"status": "400",
"price_currency": "try",
"price": "10.00",
"tax_rate": "18.00",
"invoice_number": null,
"invoice_date": null,
"e_archive_url": null,
"tracking_number": null,
"shipping_company": null,
"retail_price": null,
"attributes": {
"color": "red"
},
"attributes_kwargs": {},
"image": null,
"parent": null,
"extra_product_price": null,
"extra_product_stock": null,
"extra_product_price_detailed": null,
"extra_product_stock_detailed": null,
"extra_field": null,
"estimated_delivery_date": null,
"shipping_tracking_url": null,
"datasource": null,
"datasource_detailed": null,
"shipping_option_group": null,
"defined_shipping_company": null,
"defined_tracking_url": null,
"shipped_date": null,
"delivered_date": null,
"discount_amount": "1.00",
"discounted_price": "9.00"
}Last updated
Was this helpful?

