Toast · Schema

DeliveryInfo

Information related to delivery orders. Required if the dining option behavior is `DELIVERY`.

Food ServicePoint of SaleRestaurantsHospitality

Properties

Name Type Description
address1 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.
city string The name of the city or town 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 `administrativeArea` value for
state string 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 string The postal or zip code of the delivery destination.
country string The two-digit ISO-3166-2 country code of the delivery destination.
latitude number The north/south geographic coordinate of the delivery destination, in decimal format.
longitude number The east/west geographic coordinate of the delivery destination, in decimal format.
notes string Additional instructions or information about the delivery.
deliveredDate string 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 `DELIVERY`. For
dispatchedDate string 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 th
deliveryEmployee object The Toast GUID of the employee who delivers the order.
deliveryState string An internal representation of the state of a delivery order. Valid values: * `PENDING` - The delivery is not dispatched. This corresponds to the **Unassigned** tab of the Delivery screen of the Toast
View JSON Schema on GitHub

JSON Schema

orders-delivery-info-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/toast/refs/heads/main/json-schema/orders-delivery-info-schema.json",
  "title": "DeliveryInfo",
  "description": "Information related to delivery orders. Required if the dining option behavior is `DELIVERY`.",
  "type": "object",
  "required": [
    "address1",
    "city",
    "state",
    "zipCode"
  ],
  "properties": {
    "address1": {
      "type": "string",
      "description": "The first line of the street address of the delivery destination.\n"
    },
    "address2": {
      "type": "string",
      "description": "The second line of the street address of the delivery destination.\n"
    },
    "city": {
      "type": "string",
      "description": "The name of the city or town of the delivery destination.\n"
    },
    "administrativeArea": {
      "type": "string",
      "description": "The geographic or government division, larger than a city/town, for\nthe delivery destination. For example, the name of a province, county,\nregion, or state might be the `administrativeArea` value for a\ndelivery address. This value is optional, not all delivery addresses\ninclude a regional area name other than a `city`. If you include the \n`state` value, you would typically _not_ include an `administrativeArea`.\n"
    },
    "state": {
      "type": "string",
      "format": "ISO 3166-2",
      "description": "The postal abbreviation of the state or province of the\ndelivery destination.\n\nThe abbreviation must be in ISO 3166-2\nformat (two capital letters).\n"
    },
    "zipCode": {
      "type": "string",
      "description": "The postal or zip code of the delivery destination.\n"
    },
    "country": {
      "type": "string",
      "description": "The two-digit ISO-3166-2 country code of the delivery destination.\n"
    },
    "latitude": {
      "type": "number",
      "format": "double",
      "description": "The north/south geographic coordinate of the delivery\ndestination, in decimal format.\n"
    },
    "longitude": {
      "type": "number",
      "format": "double",
      "description": "The east/west geographic coordinate of the delivery\ndestination, in decimal format.\n"
    },
    "notes": {
      "description": "Additional instructions or information about the delivery.\n",
      "type": "string"
    },
    "deliveredDate": {
      "x-toast-read-only": true,
      "type": "string",
      "format": "date-time",
      "description": "The date and time that the delivery employee indicated in the Toast POS app that\nthe order was delivered. Response only.\n\nThis value is only set when the dining option for the order is\n`DELIVERY`. For other dining options, the value is `null`.\n",
      "example": "2025-02-07T08:00:00.000-0800"
    },
    "dispatchedDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time that the restaurant indicated in the Toast POS app that the\norder was available for delivery and assigned to a delivery\nemployee.\n\nThis value is only set when the\ndining option for the order is `DELIVERY`. For other dining\noptions, the value is `null`.\n",
      "example": "2025-02-07T08:00:00.000-0800"
    },
    "deliveryEmployee": {
      "description": "The Toast GUID of the employee who delivers the order.\n",
      "type": "object",
      "$ref": "#/definitions/ExternalReference"
    },
    "deliveryState": {
      "description": "An internal representation of the state of a delivery order.\n\nValid values:\n\n* `PENDING` - The delivery is not dispatched. This corresponds to the **Unassigned** tab of\nthe Delivery screen of the Toast POS app.\n\n* `IN_PROGRESS` - The order is on the way to the destination. This corresponds to \nthe **En Route** tab of the Delivery screen of the Toast POS app.\n\n* `PICKED_UP` - The employee who delivers the order has picked up the order from the\nrestaurant.\n\n* `DELIVERED` - The order was delivered. This corresponds to the **Delivered** tab of the\nDelivery screen of the Toast POS app.\n",
      "type": "string",
      "enum": [
        "PENDING",
        "IN_PROGRESS",
        "PICKED_UP",
        "DELIVERED"
      ]
    }
  }
}