Get order by ID
Get an order by id, including line items. Soft-deleted orders are returned with deleted: true.
/orders/{orderId}AuthorizationBearer token (API key) · headerrequiredOrganization API key.
orderIdstringrequiredOrder details
dataOrderrequiredOrder. Dates are ISO-8601. Money fields are integer cents.
Show propertiesHide properties
idstringrequiredId
orderIdstringorderDatestring<date-time>transactionDatestring<date-time>paymentMethodstringpaymentStatestringsuccessfulcancelledtimeoutfailedpendingpaymentBrandstringpriceintegerOrder total in cents
storestringStore id
transactionMessagestringgiftcardIdstringgiftcardFunctionstringdeletedbooleanPresent when stored. Lists include orders with deleted: true only with includeDeleted=true; get-by-id always returns them.
productsOrderLine[]requiredShow propertiesHide properties
OrderLineproductIdstringtitlestringpriceintegerLine total in cents.
netPriceintegerNet amount in cents.
depositintegerDeposit in cents.
costPriceintegerquantitynumberweightnumbersupplierstringcategorystringtaxintegerTax amount in cents.
taxRatenumberVAT rate as a decimal fraction (0.081 = 8.1%).
typestringe.g. product, coupon, giftcard.
imageUrlstringoriginalProductIdstringoriginalPriceintegerdiscountnumberundiscountedPriceintegerstorestringprintTicketbooleanMissing, unknown or inactive API key, or a Read key on a write operation.
statusCodeintegerrequiredHTTP status code
messagestringrequiredHuman-readable error message
timestampstring<date-time>requiredWhen the error occurred (UTC).
pathstringrequiredRequest URL (path and query string).
No item with this id.
statusCodeintegerrequiredHTTP status code
messagestringrequiredHuman-readable error message
timestampstring<date-time>requiredWhen the error occurred (UTC).
pathstringrequiredRequest URL (path and query string).