List Order Item Unit
Returns the order item units for this app — the individually tracked physical units that make up ordered items. Filter by external reference and page through results with cursor-based pagination.
AuthorizationBearer
Authorization
default In: header
Query Parameters
Filter by external reference.
Expand relations as comma-separated values, e.g. merchant,order. Supported: merchant, order, order_item, merchant_variant, merchant_variant.merchant, merchant_variant.master_variant, merchant_variant.option_value.media, id_tag, id_tag.media.
Cursor for cursor-based pagination.
Items per page.
Header Parameters
Response Body
application/json
application/json
curl -X GET "https://example.com/order-item-units?filter%5Bexternal_reference%5D=unit-9001&expand=merchant%2Corder&cursor=eyJpZCI6OTAwMX0&per_page=3" \ -H "X-Api-Version: 2022-02-01"{ "data": [ { "id": 94, "external_reference": null, "merchant": null, "order": null, "order_item": null, "merchant_variant": null, "id_tag": null, "state": "pending", "created_at": "2026-04-09T15:14:00+00:00", "updated_at": "2026-04-09T15:14:00+00:00" }, { "id": 95, "external_reference": "unit-9001", "merchant": null, "order": null, "order_item": null, "merchant_variant": null, "id_tag": null, "state": "shipped", "created_at": "2026-04-09T15:14:01+00:00", "updated_at": "2026-04-10T08:02:17+00:00" } ], "links": { "first": null, "last": null, "prev": null, "next": "https://api.smake.io/v2/apps/1/order-item-units?cursor=eyJpZCI6OTUsIl9wb2ludHNUb05leHRJdGVtcyI6dHJ1ZX0" }, "meta": { "path": "https://api.smake.io/v2/apps/1/order-item-units", "per_page": 3, "next_cursor": "eyJpZCI6OTUsIl9wb2ludHNUb05leHRJdGVtcyI6dHJ1ZX0", "prev_cursor": null }}Complete Draft Order PATCH
Finalizes a draft order and hands it over to production, moving it out of the draft state into normal order processing. The draft order must not have a logo still pending preparation or, where the design review gate is active, a customization with an open review, and the master must have at least one active production.
Show Order Item Unit GET
Returns a single order item unit by ID — one physical, individually tracked unit of an ordered item, including its ID tag and production state. Use `expand` to include related resources such as the order, order item, or variant.