Information related to delivery orders. Required if the dining option behavior is DELIVERY
.
address1 required | string The first line of the street address of the delivery destination. |
address2 | string The second line of the street address of the delivery destination. |
administrativeArea | string The geographic or government division, larger than a city/town, for
the delivery destination. For example, the name of a province, county,
region, or state might be the |
city required | string The name of the city or town of the delivery destination. |
country | string The two-digit ISO-3166-2 country code of the delivery destination. |
deliveredDate | string <date-time> The date and time that the delivery employee indicated in the Toast POS app that the order was delivered. Response only. This value is only set when the dining option for the order is
|
object (ExternalReference) A wrapper object with fields that allow reference to a Toast entity by Toast GUID. | |
deliveryState | string An internal representation of the state of a delivery order. Valid values:
|
dispatchedDate | string <date-time> The date and time that the restaurant indicated in the Toast POS app that the order was available for delivery and assigned to a delivery employee. This value is only set when the
dining option for the order is |
latitude | number <double> The north/south geographic coordinate of the delivery destination, in decimal format. |
longitude | number <double> The east/west geographic coordinate of the delivery destination, in decimal format. |
notes | string Additional instructions or information about the delivery. |
state required | string <ISO 3166-2> The postal abbreviation of the state or province of the delivery destination. The abbreviation must be in ISO 3166-2 format (two capital letters). |
zipCode required | string The postal or zip code of the delivery destination. |
{- "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"
}