Toast · JSON Structure

Restaurants Delivery Structure

Information about delivery service provided by the restaurant.

Type: object Properties: 3
RestaurantsPoint Of SalePaymentsOnline OrderingDeliveryLoyaltyGift CardsMenusOrdersKitchenLaborSchedulingInventoryHospitalityPartner Integrations

Delivery is a JSON Structure definition published by Toast, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

enabled minimum area

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/toast-tab/refs/heads/main/json-structure/restaurants-delivery-structure.json",
  "name": "Delivery",
  "description": "Information about delivery service provided by the restaurant.",
  "type": "object",
  "properties": {
    "enabled": {
      "type": "boolean",
      "description": "Indicates whether the restaurant provides delivery service\nand has enabled the delivery configuration in Toast Web.\n",
      "example": true
    },
    "minimum": {
      "type": "double",
      "description": "The minimum order price that is qualified for delivery. For\nexample, a restaurant might not deliver orders that cost less\nthan $25.00.\n",
      "example": 1.0
    },
    "area": {
      "type": "string",
      "description": "The geographic area in which the restaurant provides delivery\nservice. The delivery area is represented by an encoded set\nof latitude and longitude coordinates that describe a polygon\narea on a map. The coordinates are encoded using the Google\nmaps encoded polyline algorithm format. See [more information\nabout the way that the encoded polyline algorithm format\nencodes location coordinates]\n(https://developers.google.com/maps/documentation/utilities/polylinealgorithm).\nYou can decode the coordinates of the delivery area using any\nsoftware that supports the encoded polyline algorithm format.\nFor example, you can decode the coordinates using [the Mapline\nPolyline decoding program]\n(https://github.com/mapbox/polyline). The delivery area\ncoordinates are a JSON array of decimal degree latitude and\nlongitude pairs. For example,\n`[[42.36083,-71.14798],[42.34028,-71.15673],[42.3272,-71.14386]]`.\n",
      "example": "string"
    }
  }
}