v1

latestOpenAPI 3.0.02026-07-1398671635.1 KB
Restaurants
publicly-accessible

Get all menu item variations

Get all variations for the menu item with the provided ID

get/restaurants/{tenant}/{restaurantId}/catalogue/items/{itemId}/variations

Path parameters

tenantstring required

Request tenant

restaurantIdstring required

The restaurant ID

itemIdstring 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

{
  "variations": [
    {
      "id": "8547121",
      "name": "Half",
      "type": "variation",
      "basePrice": 500,
      "dealOnly": true,
      "kitchenNumber": "100",
      "availabilityIds": [
        "1-lunch-delivery",
        "2-lunch-collection",
        "3-dinner-delivery",
        "4-dinner-collection"
      ],
      "modifierGroupsIds": [
        "8547130-opt-1"
      ],
      "dealGroupsIds": []
    },
    {
      "id": "8547130",
      "name": "12 inch",
      "type": "variation",
      "basePrice": 1000,
      "dealOnly": false,
      "kitchenNumber": "100",
      "availabilityIds": [
        "1-lunch-delivery",
        "2-lunch-collection",
        "3-dinner-delivery",
        "4-dinner-collection"
      ],
      "modifierGroupsIds": [
        "8547130-req-1",
        "8547130-opt-1"
      ],
      "dealGroupsIds": []
    },
    {
      "id": "8543123",
      "name": "14 inch",
      "type": "variation",
      "basePrice": 1200,
      "dealOnly": true,
      "kitchenNumber": "200",
      "availabilityIds": [
        "1-lunch-delivery-weekday",
        "2-lunch-collection-weekday",
        "3-dinner-delivery-weekday",
        "4-dinner-collection-weekday"
      ],
      "modifierGroupsIds": [
        "8547130-req-1",
        "8547130-opt-1"
      ],
      "dealGroupsIds": []
    }
  ],
  "paging": {
    "cursors": {
      "after": "NDMyNzQyODI3OTQw"
    }
  }
}