v1

latestOpenAPI 3.0.02026-07-1498671635.3 KB
Restaurants
publicly-accessible

Get all deal item variations for a deal group

Get all deal item variations for the deal group with the specified ID, in the menu item with the specified ID

get/restaurants/{tenant}/{restaurantId}/catalogue/items/{itemId}/dealgroups/{dealGroupId}/dealitemvariations

Path parameters

tenantstring required

Request tenant

restaurantIdstring required

The restaurant ID

itemIdstring required

The menu item ID

dealGroupIdstring required

The menu item ID

Query parameters

limitinteger required

The maximum number of menu items to fetch.

afterstring

Value representing a cursor - position to use when retrieving the next page of data. If provided, the value of this parameter must be URL encoded.

Response

Request succeeded.

Example response

{
  "dealItemVariations": [
    {
      "additionPrice": 50,
      "dealItemVariationId": "8548153",
      "maxChoices": 1,
      "minChoices": 0
    },
    {
      "additionPrice": 100,
      "dealItemVariationId": "8548153",
      "maxChoices": 2,
      "minChoices": 1
    }
  ],
  "paging": {
    "cursors": {
      "after": "NDMyNzQyODI3OTQw"
    }
  }
}