Skip to main content

ApiResponseOrderResponse

data object
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
    error object
    codestring
    correlationIdstringnullable
    detailstring
    details objectnullable
    anyOf
    currentVersionstringnullable
    datesstring<date>[]required
    occurrenceRefsstring[]required
    requestIdsstring<uuid>[]required
    totalinteger<int32>required
    truncatedbooleanrequired
    fieldErrors objectnullable
    property name*stringnullable
    gatewayErrorCodestringnullable
    messagestring
    retryableboolean
    meta object
    limitinteger<int32>
    nextCursorstring
    pageinteger<int32>
    scheduleVersionstringnullable
    totalinteger<int64>
    totalPagesinteger<int32>
    successbooleanrequired
    ApiResponseOrderResponse
    {
    "data": {
    "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"
    },
    "error": {
    "code": "string",
    "correlationId": "string",
    "detail": "string",
    "details": {
    "currentVersion": "string",
    "dates": [
    "2024-07-29"
    ],
    "occurrenceRefs": [
    "string"
    ],
    "requestIds": [
    "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    ],
    "total": 0,
    "truncated": true
    },
    "fieldErrors": {},
    "gatewayErrorCode": "string",
    "message": "string",
    "retryable": true
    },
    "meta": {
    "limit": 0,
    "nextCursor": "string",
    "page": 0,
    "scheduleVersion": "string",
    "total": 0,
    "totalPages": 0
    },
    "success": true
    }