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.

Example Order object for a request to the /prices endpoint

The following example shows a JSON Order object to POST to the /prices endpoint. The order contains one check with a single menu item.

{
  "entityType": "Order",
  "diningOption": {
    "guid": "23fc2559-fc37-46ce-a963-cc5fdb88af0c"1
  },
  "checks": [
    {
      "entityType": "Check",
      "selections": [
        {
          "itemGroup": {
            "guid": "46c963b8-a4c8-4cd0-9b7e-e1c431ed0b53"2
          },
          "item": {
            "guid": "a8b4439d-185d-41df-8ad3-2ff4f7dfa6ec"3
          },
          "quantity": 1,4
          "modifiers": []
        }
      ]
    }
  ]
}

1

The GUID of the dining option for the order. For example, the dining option for an order might be dine in, takeout, or delivery.

For some dining options, you might need to include additional information. For example, for takeout orders, you provide information about the guest who will pick up an order.

2

The GUID of the menu group for the menu item selected for this check. For example, a menu group might be "appetizers" or "drinks."

3

The GUID of the menu item selected for this check. For example, a menu item might be "spinach dip" or "lemonade."

4

The quantity of the menu item selection. For example, to order three lemonades, a check includes a "lemonade" menu item selection with a quantity of three.