API referenceOrders
Get an order
GET
Get an order.
storeKeyheader
AuthorizationBearer <vtk_...>A store API and MCP key
storeId*stringThe store id
orderId*stringThe order id, or its number (1042)
OK
application/json- response
data*curl -X GET 'https://starsell.app/api/v1/stores/string/orders/string'Example Response
{ "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "number": 0, "label": "string", "status": "open", "payment_status": "paid", "fulfillment_status": "unfulfilled", "currency": "string", "subtotal_minor": 0, "discount_minor": 0, "discounts": [ { "discount_id": "49c104c1-008b-4f4f-abbc-6958059cb48b", "code": "string", "title": "string", "kind": "amount_off_products", "amount_minor": 0 } ], "shipping_minor": 0, "tax_minor": 0, "tax_included": true, "tip_minor": 0, "payment_method": "string", "total_minor": 0, "channel": "string", "tracking": "string", "test": true, "tags": [ "string" ], "staff_note": "string", "archived": true, "archived_at": "2019-08-24T14:15:22Z", "customer": { "email": "string", "phone": "string", "name": "string", "first_name": "string" }, "shipping_address": { "line1": "string", "city": "string", "zip": "string", "country": "string" }, "note": "string", "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "title": "string", "variant_name": "string", "quantity": 0, "price_minor": 0, "discount_minor": 0, "image_url": "string", "parts": [ { "product_id": "string", "variant_id": "string", "title": "string", "variant_name": "string", "quantity": 0 } ] } ], "item_count": 0, "status_url": "string", "admin_url": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }}