This guide will be removed on April 29, 2022. Please use our new, easier-to-use Toast technical documentation site. All updated content is on the new site.
The following example shows the response for a
PATCH
request to the
/orders/
endpoint of the orders API.
{orderGuid}
/deliveryInfo
{ "guid": "d16ceaeb-d8a3-4d47-82db-0199d37c0713","entityType": "Order", [contents omitted] "deliveryInfo": {
"address1": "401 Park Drive", "address2": "Suite 801", "city": "Boston", "state": "MA", "zipCode": "02215", "latitude": 42.3446671, "longitude": -71.1023575, "notes": "", "deliveredDate": "2021-09-14T17:57:42.263+0000", "dispatchedDate": "2021-09-14T17:57:42.263+0000", "deliveryEmployee": { "guid": "e10f2ae0-9690-4ab2-86fe-fa6603d708d0", "entityType": "RestaurantUser", "externalId": null }, "deliveryState": "DELIVERED" }, [contents omitted] "diningOption": { "guid": "f6cd5b58-27d7-462a-922f-7f919a6f9137",
"entityType": "DiningOption", "externalId": null }, [contents omitted] }