Show Order
Returns the order with the given id, including its items, addresses, payments, and shipments.
Expanding objects
Related objects can be expanded inline with the expand query parameter — all allowed values are listed
on the parameter. See Expanding Objects.
AuthorizationBearer
Authorization
default In: header
Path Parameters
The ID of the order.
Query Parameters
Expand related objects inline. Several objects can be expanded at once by separating them with a comma; nested objects are addressed with a dot — see Expanding Objects. Allowed values:
order_type— Expand order type. You can show order type details here./orders/1?expand=order_typeitems.id_tags— Expand ID Tags for order item. You can show ID Tag details for order items here./orders/1?expand=items.id_tagsitems.units— Expand the units of each order item./orders/1?expand=items.unitsitems.variant— Expand the variant details for order items. You can show the content of the variant for an order item./orders/1?expand=items.variantitems.variant.views.customizations.resource— Expand variants customization resource. You can show the content customizations' resource of a variant for an order item./orders/1?expand=items.variant.views.customizations.resourcedisposition_order— Expand disposition order resource. You can show the content of the disposition order for an order./orders/1?expand=disposition_orderdisposition_order.production_orders— Expand production orders resource. You can show the content of the production orders for the disposition order./orders/1?expand=disposition_order.production_ordersdisposition_order.production_orders.production— Expand production resource. You can show the production details of a production order for the disposition order./orders/1?expand=disposition_order.production_orders.production
Header Parameters
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/orders/41?expand=items.variant%2Citems.id_tags" \ -H "X-Api-Version: 2022-02-01"{ "id": 6, "order_type": 1, "is_test": false, "has_pending_preparation_logo": false, "external_identifier": null, "external_reference": null, "number": null, "cost_centre": null, "state": "cancelled", "failure_message": null, "customer_locale": "de", "currency": "EUR", "total": 393.77, "subtotal": 330.9, "total_tax": 62.87, "total_items_price": 393.77, "shipping_total": 0, "discount_total": 0, "created_at": "2026-04-08T05:59:57+00:00", "updated_at": "2026-04-09T13:51:42+00:00", "cancelled_at": "2026-04-09T13:51:42+00:00", "ordered_at": "2026-04-08T05:59:57+00:00", "items": [ { "id": 16, "is_test": 0, "external_identifier": null, "quantity": 1, "total": 146.97, "price": 123.5, "total_tax": 23.47, "tax_rate": 19, "variant": 641102, "created_at": "2026-04-08T05:59:58+00:00", "updated_at": "2026-04-09T13:51:42+00:00", "cancelled_at": "2026-04-09T13:51:42+00:00", "id_tags": [], "units": [] }, { "id": 17, "is_test": 0, "external_identifier": null, "quantity": 1, "total": 157.07, "price": 131.99, "total_tax": 25.08, "tax_rate": 19, "variant": 641103, "created_at": "2026-04-08T05:59:58+00:00", "updated_at": "2026-04-09T13:51:42+00:00", "cancelled_at": "2026-04-09T13:51:42+00:00", "id_tags": [], "units": [] }, { "id": 18, "is_test": 0, "external_identifier": null, "quantity": 1, "total": 89.73, "price": 75.4, "total_tax": 14.33, "tax_rate": 19, "variant": 641104, "created_at": "2026-04-08T05:59:58+00:00", "updated_at": "2026-04-09T13:51:42+00:00", "cancelled_at": "2026-04-09T13:51:42+00:00", "id_tags": [], "units": [] } ], "disposition_order": null, "customer": { "id": 8, "first_name": "Jane", "last_name": "Doe", "is_test": 0, "email": "[email protected]", "external_identifier": null, "created_at": "2026-04-08T05:59:57+00:00", "updated_at": "2026-04-08T05:59:57+00:00" }, "shipping_address": { "id": 16, "is_test": 0, "company": "MyCompany Inc.", "first_name": "John", "last_name": "Doe", "city": "Anytown", "street1": "123 Main Street", "street2": null, "zip": "12345", "phone": "+1 555 0100", "email": "[email protected]", "province_code": "NY", "country_code": "US", "vat_in": null, "created_at": "2026-04-08T05:59:57+00:00", "updated_at": "2026-04-08T05:59:57+00:00" }, "billing_address": { "id": 15, "is_test": 0, "company": null, "first_name": "Jane", "last_name": "Doe", "city": "Anytown", "street1": "456 Oak Avenue", "street2": "Apt. 2", "zip": "12345", "phone": null, "email": "[email protected]", "province_code": "NY", "country_code": "US", "vat_in": null, "created_at": "2026-04-08T05:59:57+00:00", "updated_at": "2026-04-08T05:59:57+00:00" }, "whitelabel_address": null, "payments": [ { "payment_method": { "id": 1, "name": "Invoice", "handle": "invoice", "created_at": "2026-04-08T05:58:16+00:00", "updated_at": "2026-04-08T05:58:16+00:00" } } ], "shipments": [ { "id": 4, "is_test": 0, "shipping_method": { "is_test": 0, "order_id": 6, "handle": "noLabel", "title": "no_label", "price": 191.74 }, "tracking_number": null, "media": [ { "id": 4181, "is_test": 0, "collection_name": "packing-slip", "file_name": "tmp-file-e6423511-fc97-47d6-84a5-3d2effff0b94.pdf", "size": 775609, "mime_type": "application/pdf", "download_url": "https://api.smake.io/storage/files/db86389aabd145cfa1eb6ebc0f3ed0e9/tmp-file-e6423511-fc97-47d6-84a5-3d2effff0b94.pdf?expires=1775746303&signature=311967decec045a0fc400ef2ee82fe97456f0973ea816edbb5e5d315d3ff2bba", "state": "pending", "requested": null, "failure_message": null, "created_at": "2026-04-08T05:59:58+00:00", "updated_at": "2026-04-08T05:59:58+00:00" }, { "id": 4182, "is_test": 0, "collection_name": "shipping_label_zpl", "file_name": "tmp-file-ffbe9d3f-82d7-4358-8859-46a9bc78e4de.zpl", "size": 3512, "mime_type": "text/plain", "download_url": "https://api.smake.io/storage/files/432775780ddc456184259f2b1c962775/tmp-file-ffbe9d3f-82d7-4358-8859-46a9bc78e4de.zpl?expires=1775746303&signature=11f9c0bda57720d54ef8db1cd8aca87d2ac71bd7ed1844eb11927fb95cd27e63", "state": "pending", "requested": null, "failure_message": null, "created_at": "2026-04-08T05:59:58+00:00", "updated_at": "2026-04-08T05:59:58+00:00" }, { "id": 4183, "is_test": 0, "collection_name": "shipping_label_png", "file_name": "tmp-file-c99c142e-b971-49d5-84ea-afa267e5acf4.png", "size": 47188, "mime_type": "image/png", "download_url": "https://api.smake.io/storage/files/20baa6384c144902ad7a688dc2f4ae2b/tmp-file-c99c142e-b971-49d5-84ea-afa267e5acf4.png?expires=1775746303&signature=69618a8fe3bc832b20b59c53ff1f97cb9639313c067d629ee5b071f945f9874f", "state": "pending", "requested": null, "failure_message": null, "created_at": "2026-04-08T05:59:58+00:00", "updated_at": "2026-04-08T05:59:58+00:00" }, { "id": 4184, "is_test": 0, "collection_name": "shipping_label_pdf", "file_name": "tmp-file-009b08cb-156f-4d1b-99a0-6580c22e92f2.pdf", "size": 775609, "mime_type": "application/pdf", "download_url": "https://api.smake.io/storage/files/5df2a12890d5496289a327f56e647ddc/tmp-file-009b08cb-156f-4d1b-99a0-6580c22e92f2.pdf?expires=1775746303&signature=6c6fc39117f871d89c0cf5b20b7ef5fbd23893beb33537066727f98c6a56f149", "state": "pending", "requested": null, "failure_message": null, "created_at": "2026-04-08T05:59:58+00:00", "updated_at": "2026-04-08T05:59:58+00:00" }, { "id": 4185, "is_test": 0, "collection_name": "commercial_invoice", "file_name": "tmp-file-694cb44d-4a76-4c32-9929-94822c542e6f.pdf", "size": 775609, "mime_type": "application/pdf", "download_url": "https://api.smake.io/storage/files/f6d0865fe3314abfb893ceb6f4813263/tmp-file-694cb44d-4a76-4c32-9929-94822c542e6f.pdf?expires=1775746303&signature=6ea6a571dde0132c1a02efb90fb1b0173711c5ce63b29b6f6badf484174b9b5f", "state": "pending", "requested": null, "failure_message": null, "created_at": "2026-04-08T05:59:58+00:00", "updated_at": "2026-04-08T05:59:58+00:00" } ], "order": 6, "created_at": "2026-04-08T05:59:57+00:00", "updated_at": "2026-04-09T13:51:42+00:00" } ]}Create Order POST
Creates an order for one or more variants, together with the customer, shipping and billing addresses, shipment, and payment details. Set `external_identifier` or `external_reference` to link the order to a record in your own system. **Background processing** When you create an order, this happens asynchronously. You can use [Polling](/docs/checkout/2022-02-01/basic/polling) or [Webhooks](/docs/checkout/2022-02-01/basic/webhooks) for status updates. In this endpoint, a new product variant is created implicitly for every order item. There is always a reference on the [requested data](/docs/checkout/2022-02-01/basic/requested-data) in the variant object. You can also use all the design features from the design variant endpoint within the variant object within an order item. See [Design Variant](/docs/checkout/2022-02-01/endpoints/variants/designVariant). Therefore, you will already receive the new order `id` in the header for later reference. The current state of the asynchronous process is represented due the following states: | State | Meaning | |-------|---------| | `draft` | The initial state of a new order. | | `checking` | Order is processed automatically in background. For example images will be generated or downloaded or the variant will be designed. | | `checked` | The automatic checks were successful. The order waits for the producer to start the manual preparation. | | `failed` | Something went wrong during the checking process. The reason can be found in the `failure_message` attribute. For example, an image could not be downloaded. | | `preparing` | The order is processed manually by the producer. For example, digitalization tasks are in process. | | `prepared` | The manual process is finished and the production process is running. | | `cancelled` | The order is cancelled manually. | | `completed` | The production process is completed. The order will be delivered to the customer. | The response is a `202 Accepted` without a body: the `X-Identifier` header is the new generated order id for later reference, the `Location` header points to the background job. See the **Further post order examples** among the request examples: *Create order with designing a variant with media ids* and *Create order with own shipping documents*.
Cancel Order Item Unit POST
Cancels the order item units of an order that can still be cancelled. Units already too far along in production are left untouched. The response lists which units were cancelled and which were not; the status code is 200 when all units were cancelled and 207 when only some could be.