Calculate an order's quote time

Returns information about an order's quoted fulfillment time and current status. If request body is null, returns an estimate of when an ASAP order placed at the current time can be available for pick up or delivery.

Request
query Parameters
deliveryTimeMinutes
integer <int32>

Provided delivery time (minutes). This value can be used to override the calculated delivery time

header Parameters
Toast-Restaurant-External-ID
required
string

Unique identifier of the restaurant

Request Body schema: application/json

JSON body of the order used to calculate quote time

approvalStatus
string
Enum: "NEEDS_APPROVAL" "APPROVED" "FUTURE" "NOT_APPROVED"
businessDate
integer <int32>
Array of objects (Check)
closedDate
string <date-time>
createdDate
string <date-time>
object (Device)
deleted
boolean
deletedDate
string <date-time>
object (DeliveryInfo)
object (ExternalReference)
duration
integer <int32>
entityType
string
estimatedFulfillmentDate
string <date-time>
externalId
string
guid
string
object (Device)
modifiedDate
string <date-time>
numberOfGuests
integer <int32>
openedDate
string <date-time>
paidDate
string <date-time>
pricingFeatures
Array of strings
Items Enum: "TAXESV2" "TAXESV3"
promisedDate
string <date-time>
requiredPrepTime
string
object (ExternalReference)
object (ExternalReference)
object (ExternalReference)
object (ExternalReference)
source
string
object (ExternalReference)
voidBusinessDate
integer <int32>
voidDate
string <date-time>
voided
boolean
Responses
200

successful operation

400

Bad Request

401

Unauthorized

403

Forbidden

post/quoteTime
Request samples
application/json
{
  • "guid": "string",
  • "entityType": "string",
  • "externalId": "string",
  • "revenueCenter": {
    },
  • "server": {
    },
  • "lastModifiedDevice": {
    },
  • "source": "string",
  • "voidDate": "2019-08-24T14:15:22Z",
  • "duration": 0,
  • "businessDate": 0,
  • "paidDate": "2019-08-24T14:15:22Z",
  • "restaurantService": {
    },
  • "voided": true,
  • "estimatedFulfillmentDate": "2019-08-24T14:15:22Z",
  • "table": {
    },
  • "requiredPrepTime": "string",
  • "approvalStatus": "NEEDS_APPROVAL",
  • "deliveryInfo": {
    },
  • "serviceArea": {
    },
  • "numberOfGuests": 0,
  • "diningOption": {
    },
  • "openedDate": "2019-08-24T14:15:22Z",
  • "voidBusinessDate": 0,
  • "checks": [
    ],
  • "deleted": true,
  • "createdDevice": {
    },
  • "createdDate": "2019-08-24T14:15:22Z",
  • "closedDate": "2019-08-24T14:15:22Z",
  • "deletedDate": "2019-08-24T14:15:22Z",
  • "modifiedDate": "2019-08-24T14:15:22Z",
  • "promisedDate": "2019-08-24T14:15:22Z",
  • "pricingFeatures": [
    ]
}
Response samples
application/json
{
  • "diningOptionQuoteTimes": [
    ]
}