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 request message body to add an item to an existing check

The following example shows an array that contains a Selection object to ad a menu item to an existing check.

[1
  {
    "entityType": "MenuItemSelection",
    "itemGroup": {
      "guid": "205c4612-d04d-43ec-86fd-7d0827a2eeed"2
    },
    "item": {
      "guid": "c58b958e-85a0-485a-bb5c-3b588e056aff"3
    }
    "quantity": 2,4
    "modifiers": [5
      
      [content omitted]

    ]
  }
]

1

You can include multiple menu item selections in the JSON array. This example contains a single item.

2

The Toast platform GUID of the menu group for the menu item to add to the check. For more information, see Getting Menu Information from the Menus API.

3

The Toast platform GUID of the menu item to add to the check.

4

The quantity of the menu item to add to the check.

5

If applicable, the modifiers for the added item. For more information about adding modifiers, see Applying modifiers and pre-modifiers.