Returns an array of Order
objects containing detailed
information about all of the orders opened during a period of time.
You can return the orders for either a specific period of time or for one business day.
Specify both startDate
and endDate
to return the orders
modified during that period of time.
Specify the businessDate
to return the orders promised
during that business day.
businessDate | string The business date that same-day orders opened or that
scheduled orders are promised, in the format The business day of an order is determined by the time the
order is opened or promised in the local time zone, and the
restaurant's business day cutoff time, which is available
from the |
endDate | string <ISO-8601> The exclusive end date and time. The results exclude any orders that have
a modified date and time that occurs at or after Use ISO-8601 format for the date and time, including a decimal
fraction of a second. For example, The |
page | integer The sequence number of the set of objects to return in paginated response data. For example, if you set the
For more information, see the Toast Developer Guide. |
pageSize | integer The maximum number of objects to return in the array. If the
number of objects selected by your request is greater than
the The maximum For more information, see the Toast Developer Guide. |
startDate | string <ISO-8601> The inclusive start date and time. The results include orders with a modified
date and time that occur at or after the Use ISO-8601 format for the date and time, including a decimal fraction of
a second. For example, The date must be after 2015-12-01T00:00:00.000+0000. |
A JSON array of Order
objects for each order processed
during the period of time that you specify in your request.
The request contains data that is not supported by the API.
An unexpected internal error occurred. The
requestId
that is attached to this error can be referenced by
the Toast support team.
curl -i -X GET \ 'https://toast-api-server/orders/v2/ordersBulk?businessDate=string&endDate=string&page=0&pageSize=0&startDate=string' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Toast-Restaurant-External-ID: string'
[- {
- "guid": "string",
- "entityType": "string",
- "externalId": "string",
- "openedDate": "2019-08-24T14:15:22Z",
- "modifiedDate": "2019-08-24T14:15:22Z",
- "promisedDate": "2019-08-24T14:15:22Z",
- "channelGuid": "3c66b5cf-1850-49e6-aef3-40576e6de979",
- "diningOption": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "checks": [
- {
- "guid": "string",
- "entityType": "string",
- "externalId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "openedDate": "2019-08-24T14:15:22Z",
- "closedDate": "2019-08-24T14:15:22Z",
- "modifiedDate": "2019-08-24T14:15:22Z",
- "deletedDate": "2019-08-24T14:15:22Z",
- "deleted": true,
- "selections": [
- {
- "guid": "string",
- "entityType": "string",
- "externalId": "string",
- "item": {
- "guid": "string",
- "entityType": "string",
- "multiLocationId": "string",
- "externalId": "string"
}, - "itemGroup": {
- "guid": "string",
- "entityType": "string",
- "multiLocationId": "string",
- "externalId": "string"
}, - "optionGroup": {
- "guid": "string",
- "entityType": "string",
- "multiLocationId": "string",
- "externalId": "string"
}, - "preModifier": {
- "guid": "string",
- "entityType": "string",
- "multiLocationId": "string",
- "externalId": "string"
}, - "quantity": 0,
- "seatNumber": 0,
- "unitOfMeasure": "NONE",
- "selectionType": "NONE",
- "salesCategory": {
- "guid": "string",
- "entityType": "string",
- "multiLocationId": "string",
- "externalId": "string"
}, - "appliedDiscounts": [
- {
- "guid": null,
- "entityType": null,
- "externalId": null,
- "name": null,
- "discountAmount": null,
- "nonTaxDiscountAmount": null,
- "discount": null,
- "triggers": [ ],
- "approver": null,
- "processingState": null,
- "appliedDiscountReason": null,
- "loyaltyDetails": null,
- "comboItems": [ ],
- "appliedPromoCode": null,
- "discountType": null,
- "discountPercent": null
}
], - "deferred": true,
- "preDiscountPrice": 0,
- "price": 0,
- "tax": 0,
- "voided": true,
- "voidDate": "2019-08-24T14:15:22Z",
- "voidBusinessDate": 0,
- "voidReason": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "refundDetails": {
- "refundAmount": 0,
- "taxRefundAmount": 0,
- "refundTransaction": {
- "guid": null,
- "entityType": null
}
}, - "displayName": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "modifiedDate": "2019-08-24T14:15:22Z",
- "modifiers": [
- { }
], - "fulfillmentStatus": "NEW",
- "taxInclusion": "INCLUDED",
- "appliedTaxes": [
- {
- "guid": null,
- "entityType": null,
- "taxRate": null,
- "name": null,
- "rate": null,
- "taxAmount": null,
- "type": null,
- "facilitatorCollectAndRemitTax": null,
- "displayName": null,
- "jurisdiction": null,
- "jurisdictionType": null
}
], - "diningOption": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "openPriceAmount": 0,
- "receiptLinePrice": 0,
- "optionGroupPricingMode": "INCLUDED",
- "externalPriceAmount": 0,
- "splitOrigin": {
- "guid": "string",
- "entityType": "string"
}
}
], - "customer": {
- "guid": "string",
- "entityType": "string",
- "firstName": "string",
- "lastName": "string",
- "phone": "string",
- "phoneCountryCode": "string",
- "email": "string"
}, - "appliedLoyaltyInfo": {
- "guid": "string",
- "entityType": "string",
- "loyaltyIdentifier": "string",
- "maskedLoyaltyIdentifier": "string",
- "vendor": "TOAST",
- "accrualFamilyGuid": "string",
- "accrualText": "string"
}, - "taxExempt": false,
- "displayNumber": "string",
- "appliedServiceCharges": [
- {
- "guid": "string",
- "entityType": "string",
- "externalId": "string",
- "chargeAmount": 0,
- "serviceCharge": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "chargeType": "FIXED",
- "name": "string",
- "delivery": true,
- "takeout": true,
- "dineIn": true,
- "gratuity": true,
- "taxable": true,
- "appliedTaxes": [
- {
- "guid": null,
- "entityType": null,
- "taxRate": null,
- "name": null,
- "rate": null,
- "taxAmount": null,
- "type": null,
- "facilitatorCollectAndRemitTax": null,
- "displayName": null,
- "jurisdiction": null,
- "jurisdictionType": null
}
], - "serviceChargeCalculation": "PRE_DISCOUNT",
- "refundDetails": {
- "refundAmount": 0,
- "taxRefundAmount": 0,
- "refundTransaction": {
- "guid": null,
- "entityType": null
}
}, - "serviceChargeCategory": "SERVICE_CHARGE",
- "paymentGuid": "string"
}
], - "amount": 0,
- "taxAmount": 0,
- "totalAmount": 0,
- "payments": [
- {
- "guid": "string",
- "entityType": "string",
- "externalId": "string",
- "paidDate": "2019-08-24T14:15:22Z",
- "paidBusinessDate": 0,
- "type": "CASH",
- "cardEntryMode": "SWIPED",
- "amount": 0,
- "tipAmount": 0,
- "amountTendered": 0,
- "cardType": "VISA",
- "last4Digits": "string",
- "originalProcessingFee": 0,
- "server": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "cashDrawer": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "refundStatus": "NONE",
- "refund": {
- "refundAmount": 0,
- "tipRefundAmount": 0,
- "refundDate": "2019-08-24T14:15:22Z",
- "refundBusinessDate": 0,
- "refundTransaction": {
- "guid": null,
- "entityType": null
}
}, - "paymentStatus": "OPEN",
- "voidInfo": {
- "voidUser": {
- "guid": null,
- "entityType": null,
- "externalId": null
}, - "voidApprover": {
- "guid": null,
- "entityType": null,
- "externalId": null
}, - "voidDate": "2019-08-24T14:15:22Z",
- "voidBusinessDate": 0,
- "voidReason": {
- "guid": null,
- "entityType": null,
- "externalId": null
}
}, - "houseAccount": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "otherPayment": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "createdDevice": {
- "id": "string"
}, - "lastModifiedDevice": {
- "id": "string"
}, - "mcaRepaymentAmount": 0,
- "cardPaymentId": "string",
- "orderGuid": "string",
- "checkGuid": "string",
- "tenderTransactionGuid": "string"
}
], - "tabName": "string",
- "paymentStatus": "OPEN",
- "appliedDiscounts": [
- {
- "guid": "string",
- "entityType": "string",
- "externalId": "string",
- "name": "string",
- "discountAmount": 0,
- "nonTaxDiscountAmount": 0,
- "discount": {
- "guid": "string",
- "entityType": "string"
}, - "triggers": [
- {
- "selection": null,
- "quantity": null
}
], - "approver": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "processingState": "PENDING_APPLIED",
- "appliedDiscountReason": {
- "name": "string",
- "description": "string",
- "comment": "string",
- "discountReason": {
- "guid": null,
- "entityType": null
}
}, - "loyaltyDetails": {
- "vendor": "TOAST",
- "referenceId": "string"
}, - "comboItems": [
- {
- "guid": null,
- "entityType": null,
- "externalId": null
}
], - "appliedPromoCode": "string",
- "discountType": "BOGO",
- "discountPercent": 0
}
], - "voided": true,
- "voidDate": "2019-08-24T14:15:22Z",
- "voidBusinessDate": 0,
- "paidDate": "2019-08-24T14:15:22Z",
- "createdDevice": {
- "id": "string"
}, - "lastModifiedDevice": {
- "id": "string"
}, - "duration": 0,
- "openedBy": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}
}
], - "table": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "serviceArea": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "restaurantService": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "revenueCenter": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "source": "string",
- "duration": 0,
- "deliveryInfo": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "administrativeArea": "string",
- "state": "string",
- "zipCode": "string",
- "country": "string",
- "latitude": 0,
- "longitude": 0,
- "notes": "string",
- "deliveredDate": "2019-08-24T14:15:22Z",
- "dispatchedDate": "2019-08-24T14:15:22Z",
- "deliveryEmployee": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "deliveryState": "PENDING"
}, - "requiredPrepTime": "string",
- "estimatedFulfillmentDate": "2019-08-24T14:15:22Z",
- "numberOfGuests": 0,
- "voided": true,
- "voidDate": "2019-08-24T14:15:22Z",
- "voidBusinessDate": 0,
- "paidDate": "2019-08-24T14:15:22Z",
- "closedDate": "2019-08-24T14:15:22Z",
- "deletedDate": "2019-08-24T14:15:22Z",
- "deleted": true,
- "businessDate": 0,
- "server": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "pricingFeatures": [
- "TAXESV2"
], - "approvalStatus": "NEEDS_APPROVAL",
- "guestOrderStatus": "string",
- "createdDevice": {
- "id": "string"
}, - "createdDate": "2019-08-24T14:15:22Z",
- "initialDate": 0,
- "lastModifiedDevice": {
- "id": "string"
}, - "curbsidePickupInfo": {
- "guid": "string",
- "entityType": "string",
- "transportColor": "string",
- "transportDescription": "string",
- "notes": "string"
}, - "deliveryServiceInfo": {
- "guid": "string",
- "entityType": "string",
- "providerId": "string",
- "providerName": "string",
- "driverName": "string",
- "driverPhoneNumber": "string",
- "providerInfo": "string",
- "originalQuotedDeliveryDate": "string"
}, - "marketplaceFacilitatorTaxInfo": {
- "facilitatorCollectAndRemitTaxOrder": true,
- "taxes": [
- {
- "guid": "string",
- "entityType": "string",
- "taxRate": {
- "guid": "string",
- "entityType": "string"
}, - "name": "string",
- "rate": 0,
- "taxAmount": 0,
- "type": "PERCENT",
- "facilitatorCollectAndRemitTax": true,
- "displayName": "string",
- "jurisdiction": "string",
- "jurisdictionType": "string"
}
]
}, - "createdInTestMode": true,
- "appliedPackagingInfo": {
- "guid": "string",
- "entityType": "string",
- "appliedPackagingItems": [
- {
- "guid": "string",
- "entityType": "string",
- "itemConfigId": "string",
- "inclusion": "YES",
- "itemTypes": [
- "string"
], - "guestDisplayName": "string"
}
]
}, - "excessFood": true,
- "displayNumber": "string"
}
]