OrderResponse
createdAtstring<date-time>required
currencystringrequired
Order currency, falling back to the store currency and then USD
customerNamestringnullable
externalOrderIdstringrequired
fulfillmentTypestringrequired
idstring<uuid>required
integrationIdstring<uuid>nullable
itemsJsonstringrequired
originstringnullable
Possible values: [delivery_platform, online_order, pos_terminal]
placedAtstring<date-time>nullable
platformstringrequired
providerStatusstringnullable
providerUpdatedAtstring<date-time>nullable
scheduledAtstring<date-time>nullable
statusstringrequired
Possible values: [UNKNOWN, RECEIVED, PREPARING, READY, PICKED_UP, DELIVERED, CANCELLED]
statusHistory object[]required
Array [
changedAtstring<date-time>required
changedBystringnullable
idstring<uuid>required
newStatusstringrequired
Possible values: [UNKNOWN, RECEIVED, PREPARING, READY, PICKED_UP, DELIVERED, CANCELLED]
oldStatusstringnullable
]
storeIdstring<uuid>required
subtotalAmountnumber<double>nullable
taxAmountnumber<double>nullable
totalAmountnumber<double>nullable
transactionIdstring<uuid>nullable
updatedAtstring<date-time>required
OrderResponse
{
"createdAt": "2024-07-29T15:51:28.071Z",
"currency": "string",
"customerName": "string",
"externalOrderId": "string",
"fulfillmentType": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"integrationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"itemsJson": "string",
"origin": "delivery_platform",
"placedAt": "2024-07-29T15:51:28.071Z",
"platform": "string",
"providerStatus": "string",
"providerUpdatedAt": "2024-07-29T15:51:28.071Z",
"scheduledAt": "2024-07-29T15:51:28.071Z",
"status": "UNKNOWN",
"statusHistory": [
{
"changedAt": "2024-07-29T15:51:28.071Z",
"changedBy": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"newStatus": "UNKNOWN",
"oldStatus": "string"
}
],
"storeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"subtotalAmount": 0,
"taxAmount": 0,
"totalAmount": 0,
"transactionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"updatedAt": "2024-07-29T15:51:28.071Z"
}