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 of adding a special request to a menu item selection

The following example JSON message body for a POST request to the orders API includes a special request for a menu item selection.

{
  "entityType": "Order",
      [contents omitted]
  },
  "checks": [
    {
      "selections": [
        {
            [contents omitted]
          "item": {
            "guid": "a8b4439d-185d-41df-8ad3-2ff4f7dfa6ec"
          },
          "modifiers": [1
            {
              "selectionType": "SPECIAL_REQUEST"2
              "displayName": "Put the salad dressing on the side, not mixed in.",3
            }
          ]
        }
      ]
    [contents omitted]
  ]
}

1

Include special requests in the array of modifiers for a menu item selection.

2

Set the selectionType value to SPECIAL_REQUEST.

3

In the displayName value, enter the request message.