API

Menu

A store's whole menu, read or upserted in one call.

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
GET /v1/stores/{storeId}/menu load OK
PUT /v1/stores/{storeId}/menu update No Content

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

menu, err := client.Menu(nil).Load(map[string]any{"store_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(menu)
updated, err := client.Menu(nil).Update(map[string]any{"store_id": "example", "categories": []any{}}, nil)
if err != nil {
    panic(err)
}
fmt.Println(updated)

Lua

Construct client as shown in the Lua setup, then call the operations:

local menu, err = client:Menu():load({ store_id = "example" })
local updated, err = client:Menu():update({ store_id = "example", categories = {} })

PHP

Construct client as shown in the PHP setup, then call the operations:

$menu = $client->Menu()->load(["store_id" => "example"]);
$updated = $client->Menu()->update(["store_id" => "example", "categories" => []]);

Python

Construct client as shown in the Python setup, then call the operations:

menu = client.Menu().load({"store_id": "example"})
updated = client.Menu().update({"store_id": "example", "categories": []})

Ruby

Construct client as shown in the Ruby setup, then call the operations:

menu = client.Menu.load({ "store_id" => "example" })
updated = client.Menu.update({ "store_id" => "example", "categories" => [] })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const menu = await client.Menu().load({ store_id: "example" })
const updated = await client.Menu().update({ store_id: "example", categories: [] })

Fields

Field Type Required Description
categories array Yes A list of top level categories and the relationships to subcateogries
items array Yes A list of items and the relationships to any modifer groups
menus array No A list of multiple menu.
modifier_groups array Yes A list of modifier groups and the relationships to modifiers
modifiers array Yes A list of modifiers that can be used by modifier groups
subcategories array Yes A list of subcategories and the relationships to items

load

GET /v1/stores/{storeId}/menu

Operation ID: GET/v1/stores/{storeId}/menu.

Authentication: oauth2 (AccessToken).

Parameters

Parameter In Type Required Description
storeId path string Yes Store Identifier

Responses

200: OK

application/json

Property Type Required Description
data object No
data.categories array of object Yes A list of top level categories and the relationships to subcateogries
data.categories[].availability array of enum: MO, TU, WE, TH, FR, SA, ... No An array containing the days of the week this category should be shown
data.categories[].expand_subcategories boolean No If true, subcategories will be expanded and shown directly at the top level, without requiring the user to click on the category to see the list of subcategories.
data.categories[].fulfillment_modes array of enum: DELIVERY, COLLECTION No An array containing the possible fulfillment modes
data.categories[].id string Yes Category ID (controlled by partners)
data.categories[].image string No Image that should be displayed along side this category. If the field is missing - any existing image will be removed.
data.categories[].is_tax_included boolean Yes Setting to true assumes tax is included in the price. Otherwise you will be able to set tax_percentage.
data.categories[].kitchen_sections array of string No A list of unique kitchen section identifiers assigned to this category
data.categories[].name string Yes Category Name
data.categories[].name_localized string No Second Language Name
data.categories[].schedule object No
data.categories[].schedule.end_date string No The date at which the menu ceases to be available, in YYYY-MM-DD format eg 2024-12-01 leave empty always visible
data.categories[].schedule.end_time string Yes The time at which the menu ceases to be available, in 24-hour HH:MM format, for example “08:30”, “23:00”
data.categories[].schedule.start_date string No The date at which the menu becomes available, in YYYY-MM-DD format eg 2024-01-01 leave empty always visible
data.categories[].schedule.start_time string Yes The time at which the menu becomes available, in 24-hour HH:MM format, for example “08:30”, “23:00”
data.categories[].sequence integer No The sequence field orders categories for display or application. It's a numeric value indicating the preferred order, with lower values shown first.
data.categories[].service_availability array of object No [Menu V4 only] Service availability details for the menu. Not supported in Menu V3 and below..
data.categories[].service_availability[].time_periods array of object Yes Time periods for the selected weekdays
data.categories[].service_availability[].time_periods[].time object Yes
data.categories[].service_availability[].weekday array of enum: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, ... Yes Weekdays when the menu is available
data.categories[].show_online boolean No Enable or Disable whether this category shown on Foodhub platform.
data.categories[].subcategories array of string Yes An array of subcategory ids that should be show under this category
data.categories[].tax_percentage number No This will only work when tax included is false.
data.categories[].tax_percentage_1e4 integer No The tax rate value expressed as an integer. An integer representing a tax value scaled by a factor of 10,000.
data.items array of object Yes A list of items and the relationships to any modifer groups
data.items[].availability array of enum: MO, TU, WE, TH, FR, SA, ... No
data.items[].barcode string No Barcode of the item
data.items[].contains_alcohol boolean No This is to specify if the item contains alcohol content or not
data.items[].contains_tobacco boolean No This is to specify if the item contains tobacco content or not
data.items[].description string No Item Description
data.items[].dietary_labels array of enum: VEGAN, VEGETARIAN, GLUTEN_FREE, NON-VEGETARIAN No
data.items[].fulfillment_modes array of enum: DELIVERY, COLLECTION No
data.items[].id string Yes Item ID (controlled by partners)
data.items[].image string No Image that should be displayed along side this item. If the field is missing - any existing image will be removed.
data.items[].inherit_sections boolean No If true, the item will inherit kitchen sections from its parent, but only if kitchen_sections is not set
data.items[].is_tax_included boolean Yes Setting to true assumes tax is included in the price. Otherwise you will be able to set tax_percentage.
data.items[].kitchen_sections array of string No A list of unique kitchen section identifiers assigned to this item. This field takes precedence over inheritance, if provided, it will override any parent section mapping.
data.items[].max_permitted integer No Maximum number of items that must be selected (inclusive)
data.items[].min_permitted integer No Minimum number of items that must be selected (inclusive)
data.items[].modifier_groups array of string No
data.items[].name string Yes Item Name
data.items[].name_localized string No Second Language Name
data.items[].number_of_servings number No Describes the Number of servings for a item
data.items[].nutrition_info object No Defines nutritional details for an item, and modifier. Allows updates only as a complete object.
data.items[].nutrition_info.additive array of enum: UNSPECIFIED, COLORANT_UNSPECIFIED, COLORANT_ADVERSE_EFFECT, PRESERVATIVES_UNSPECIFIED, PRESERVATIVES_NITRITE_CURING_SALT, PRESERVATIVES_NITRATE, ... No List of additive in the product. Allow multiple values
data.items[].nutrition_info.allergens array of enum: NO ALLERGENS, GLUTEN, CEREAL_UNSPECIFIED, CEREAL_WHEAT, CEREAL_RYE, CEREAL_BARLEY, ... No List of allergens in the product. Allow multiple values
data.items[].nutrition_info.calories object No
data.items[].nutrition_info.calories.lower_range number Yes The lower range of the energy content.
data.items[].nutrition_info.calories.upper_range number Yes The upper range of the energy content.
data.items[].nutrition_info.carbohydrates object No
data.items[].nutrition_info.carbohydrates.lower_range number Yes The lower range of the energy content.
data.items[].nutrition_info.carbohydrates.upper_range number Yes The upper range of the energy content.
data.items[].nutrition_info.dietary_restriction enum: VEGETARIAN, VEGAN, GLUTEN_FREE, NON-VEGETARIAN No List of dietary restriction in the product. Allow single value.
data.items[].nutrition_info.kilojoules object No
data.items[].nutrition_info.kilojoules.lower_range number Yes The lower range of the energy content.
data.items[].nutrition_info.kilojoules.upper_range number Yes The upper range of the energy content.
data.items[].nutrition_info.protein object No
data.items[].nutrition_info.protein.lower_range number Yes The lower range of the energy content.
data.items[].nutrition_info.protein.upper_range number Yes The upper range of the energy content.
data.items[].nutrition_info.salt object No
data.items[].nutrition_info.salt.lower_range number Yes The lower range of the energy content.
data.items[].nutrition_info.salt.upper_range number Yes The upper range of the energy content.
data.items[].nutrition_info.saturated_fat object No
data.items[].nutrition_info.saturated_fat.lower_range number Yes The lower range of the energy content.
data.items[].nutrition_info.saturated_fat.upper_range number Yes The upper range of the energy content.
data.items[].nutrition_info.spiciness enum: UNKNOWN, MILD, MEDIUM, HOT, VERY_HOT No List of spiciness in the product.Allow single value.
data.items[].nutrition_info.sugar object No
data.items[].nutrition_info.sugar.lower_range number Yes The lower range of the energy content.
data.items[].nutrition_info.sugar.upper_range number Yes The upper range of the energy content.
data.items[].offer enum: BOGOF, BOGOH No Offer Type
data.items[].price integer Yes Menu item price value, represented in the lowest currency unit, such as pence, paise, cents, yen, etc.
data.items[].restriction_tag string No Restriction tag of an item
data.items[].schedule object No
data.items[].schedule.end_date string No The date at which the menu ceases to be available, in YYYY-MM-DD format eg 2024-12-01 leave empty always visible
data.items[].schedule.end_time string Yes The time at which the menu ceases to be available, in 24-hour HH:MM format, for example “08:30”, “23:00”
data.items[].schedule.start_date string No The date at which the menu becomes available, in YYYY-MM-DD format eg 2024-01-01 leave empty always visible
data.items[].schedule.start_time string Yes The time at which the menu becomes available, in 24-hour HH:MM format, for example “08:30”, “23:00”
data.items[].selections array of object No
data.items[].selections[].max_permitted number No Maximum quantity allowed (inclusive). max_permitted cannot be less than min_permitted.
data.items[].selections[].min_permitted number No Minimum quantity allowed (inclusive) -- Cannot be negative.
data.items[].selections[].modifier_group_id string Yes Modifier Group reference ID
data.items[].selections[].modifiers array of object Yes
data.items[].selections[].modifiers[].max_permitted number No Maximum quantity allowed (inclusive). max_permitted cannot be less than min_permitted.
data.items[].selections[].modifiers[].min_permitted number No Minimum quantity allowed (inclusive) -- Cannot be negative.
data.items[].selections[].modifiers[].modifier_id string Yes Modifier reference ID
data.items[].selections[].modifiers[].price integer No Override price for the modifier, represented in the lowest currency unit, such as pence, paise, cents, yen, etc.
data.items[].selections[].modifiers[].selections array of any No Nested selections for the modifier groups
data.items[].selections[].modifiers[].show_online boolean No Show the modifier online or not praticular item
data.items[].sequence integer No The sequence field orders items for display or application. It's a numeric value indicating the preferred order, with lower values shown first.
data.items[].service_availability array of object No [Menu V4 only] Service availability details for the menu. Not supported in Menu V3 and below..
data.items[].service_availability[].time_periods array of object Yes Time periods for the selected weekdays
data.items[].service_availability[].time_periods[].time object Yes
data.items[].service_availability[].weekday array of enum: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, ... Yes Weekdays when the menu is available
data.items[].show_online boolean No Enable or Disable whether this category shown on Foodhub platform.
data.items[].tax_percentage number No This will only work when tax included is false.
data.items[].tax_percentage_1e4 integer No The tax rate value expressed as an integer. An integer representing a tax value scaled by a factor of 10,000.
data.menus array of object No A list of multiple menu.
data.menus[].categories array of object Yes Menu categories with nested subcategories and items
data.menus[].categories[].reference_id string Yes Category identifier
data.menus[].categories[].subcategories array of object Yes
data.menus[].categories[].subcategories[].items array of object Yes
data.menus[].categories[].subcategories[].reference_id string Yes Subcategory identifier
data.menus[].fulfillment array of enum: DELIVERY, COLLECTION, INSTORE Yes Supported fulfillment modes for this menu
data.menus[].id string Yes Menu identifier
data.menus[].name string Yes Menu name
data.menus[].name_localized string No Second language menu name
data.menus[].service_availability array of object Yes [Menu V4 only] Service availability details for the menu. Not supported in Menu V3 and below..
data.menus[].service_availability[].time_periods array of object Yes Time periods for the selected weekdays
data.menus[].service_availability[].time_periods[].time object Yes
data.menus[].service_availability[].weekday array of enum: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, ... Yes Weekdays when the menu is available
data.modifier_groups array of object Yes A list of modifier groups and the relationships to modifiers
data.modifier_groups[].description string No
data.modifier_groups[].id string Yes Modifier Group ID (controlled by partners)
data.modifier_groups[].max_permitted number No Maximum quantity allowed (inclusive). max_permitted cannot be less than min_permitted.
data.modifier_groups[].min_permitted number No Minimum quantity allowed (inclusive) -- Cannot be negative.
data.modifier_groups[].modifiers array of string Yes
data.modifier_groups[].name string Yes Modifier Group Name
data.modifier_groups[].name_localized string No Second Language Name
data.modifier_groups[].sequence integer No The sequence field orders modifier groups for display or application. It's a numeric value indicating the preferred order, with lower values shown first.
data.modifier_groups[].type enum: HALF_N_HALF, NONE No Defines the Half_N_Half type for the Modifier Group. When specified, modifiers will be categorized as left, whole, or right side options.
data.modifiers array of object Yes A list of modifiers that can be used by modifier groups
data.modifiers[].contains_alcohol boolean No This is to specify if the item contains alcohol content or not
data.modifiers[].contains_tobacco boolean No This is to specify if the item contains tobacco content or not
data.modifiers[].dietary_labels array of enum: VEGAN, VEGETARIAN, GLUTEN_FREE, NON-VEGETARIAN No
data.modifiers[].id string Yes Modifier ID (controlled by partners)
data.modifiers[].image string No Image that should be displayed along side this modifier. If the field is missing - any existing image will be removed.
data.modifiers[].is_tax_included boolean Yes Setting to true assumes tax is included in the price. Otherwise you will be able to set tax_percentage.
data.modifiers[].kitchen_sections array of string No A list of unique kitchen section identifiers assigned to this modifier. This field takes precedence over inheritance, if provided, it will override any parent section mapping.
data.modifiers[].max_permitted number No Maximum quantity allowed (inclusive). max_permitted cannot be less than min_permitted.
data.modifiers[].min_permitted number No Minimum quantity allowed (inclusive) -- Cannot be negative.
data.modifiers[].modifier_groups array of string No
data.modifiers[].name string Yes Modifier Name
data.modifiers[].name_localized string No Second Language Name
data.modifiers[].nutrition_info object No Defines nutritional details for an item, and modifier. Allows updates only as a complete object.
data.modifiers[].nutrition_info.additive array of enum: UNSPECIFIED, COLORANT_UNSPECIFIED, COLORANT_ADVERSE_EFFECT, PRESERVATIVES_UNSPECIFIED, PRESERVATIVES_NITRITE_CURING_SALT, PRESERVATIVES_NITRATE, ... No List of additive in the product. Allow multiple values
data.modifiers[].nutrition_info.allergens array of enum: NO ALLERGENS, GLUTEN, CEREAL_UNSPECIFIED, CEREAL_WHEAT, CEREAL_RYE, CEREAL_BARLEY, ... No List of allergens in the product. Allow multiple values
data.modifiers[].nutrition_info.calories object No
data.modifiers[].nutrition_info.calories.lower_range number Yes The lower range of the energy content.
data.modifiers[].nutrition_info.calories.upper_range number Yes The upper range of the energy content.
data.modifiers[].nutrition_info.carbohydrates object No
data.modifiers[].nutrition_info.carbohydrates.lower_range number Yes The lower range of the energy content.
data.modifiers[].nutrition_info.carbohydrates.upper_range number Yes The upper range of the energy content.
data.modifiers[].nutrition_info.dietary_restriction enum: VEGETARIAN, VEGAN, GLUTEN_FREE, NON-VEGETARIAN No List of dietary restriction in the product. Allow single value.
data.modifiers[].nutrition_info.kilojoules object No
data.modifiers[].nutrition_info.kilojoules.lower_range number Yes The lower range of the energy content.
data.modifiers[].nutrition_info.kilojoules.upper_range number Yes The upper range of the energy content.
data.modifiers[].nutrition_info.protein object No
data.modifiers[].nutrition_info.protein.lower_range number Yes The lower range of the energy content.
data.modifiers[].nutrition_info.protein.upper_range number Yes The upper range of the energy content.
data.modifiers[].nutrition_info.salt object No
data.modifiers[].nutrition_info.salt.lower_range number Yes The lower range of the energy content.
data.modifiers[].nutrition_info.salt.upper_range number Yes The upper range of the energy content.
data.modifiers[].nutrition_info.saturated_fat object No
data.modifiers[].nutrition_info.saturated_fat.lower_range number Yes The lower range of the energy content.
data.modifiers[].nutrition_info.saturated_fat.upper_range number Yes The upper range of the energy content.
data.modifiers[].nutrition_info.spiciness enum: UNKNOWN, MILD, MEDIUM, HOT, VERY_HOT No List of spiciness in the product.Allow single value.
data.modifiers[].nutrition_info.sugar object No
data.modifiers[].nutrition_info.sugar.lower_range number Yes The lower range of the energy content.
data.modifiers[].nutrition_info.sugar.upper_range number Yes The upper range of the energy content.
data.modifiers[].offer enum: BOGOF, BOGOH No Offer Type
data.modifiers[].pre_selected enum: YES, NO No Enable to set this modifier as default.
data.modifiers[].price integer Yes Item Modifier price value, represented in the lowest currency unit, such as pence, paise, cents, yen, etc.
data.modifiers[].price_for_half integer No Item Modifier custom price value, represented in the lowest currency unit, such as pence, paise, cents, yen, etc. Only applicable for Half_N_Half modifiers
data.modifiers[].sequence integer No The sequence field orders addons for display or application. It's a numeric value indicating the preferred order, with lower values shown first.
data.modifiers[].show_online boolean No Enable or Disable whether this category shown on Foodhub platform.
data.modifiers[].tax_percentage number No This will only work when tax included is false.
data.modifiers[].tax_percentage_1e4 integer No The tax rate value expressed as an integer. An integer representing a tax value scaled by a factor of 10,000.
data.subcategories array of object Yes A list of subcategories and the relationships to items
data.subcategories[].availability array of enum: MO, TU, WE, TH, FR, SA, ... No An array containing the days of hte week this subcategory should be shown
data.subcategories[].description string No
data.subcategories[].fulfillment_modes array of enum: DELIVERY, COLLECTION No An array containing the possible fulfillment modes
data.subcategories[].id string Yes Subcategory ID (controlled by partners)
data.subcategories[].image string No Image that should be displayed along side this subcategory. If the field is missing - any existing image will be removed.
data.subcategories[].is_tax_included boolean Yes Setting to true assumes tax is included in the price. Otherwise you will be able to set tax_percentage.
data.subcategories[].items array of string Yes An array of item ids that should be show under this subcategory
data.subcategories[].kitchen_sections array of string No A list of unique kitchen section identifiers assigned to this subcategory. This field takes precedence over inheritance, if provided, it will override any parent section mapping.
data.subcategories[].name string Yes Subcategory Name
data.subcategories[].name_localized string No Second Language Name
data.subcategories[].schedule object No
data.subcategories[].schedule.end_date string No The date at which the menu ceases to be available, in YYYY-MM-DD format eg 2024-12-01 leave empty always visible
data.subcategories[].schedule.end_time string Yes The time at which the menu ceases to be available, in 24-hour HH:MM format, for example “08:30”, “23:00”
data.subcategories[].schedule.start_date string No The date at which the menu becomes available, in YYYY-MM-DD format eg 2024-01-01 leave empty always visible
data.subcategories[].schedule.start_time string Yes The time at which the menu becomes available, in 24-hour HH:MM format, for example “08:30”, “23:00”
data.subcategories[].sequence integer No The sequence field orders subcategories for display or application. It's a numeric value indicating the preferred order, with lower values shown first.
data.subcategories[].service_availability array of object No [Menu V4 only] Service availability details for the menu. Not supported in Menu V3 and below..
data.subcategories[].service_availability[].time_periods array of object Yes Time periods for the selected weekdays
data.subcategories[].service_availability[].time_periods[].time object Yes
data.subcategories[].service_availability[].weekday array of enum: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, ... Yes Weekdays when the menu is available
data.subcategories[].show_online boolean No Enable or Disable whether this category shown on Foodhub platform.
data.subcategories[].tax_percentage number No This will only work when tax included is false.
data.subcategories[].tax_percentage_1e4 integer No The tax rate value expressed as an integer. An integer representing a tax value scaled by a factor of 10,000.
400: Bad Request

application/json

Property Type Required Description
error string Yes 400 Bad Request is the status code that indicates the server cannot or will not process the request due to something that is perceived to be a client error
401: Unauthorized

application/json

Property Type Required Description
error string Yes 401 Unauthorized is the status code to return when the client provides no credentials or invalid credentials.
403: Forbidden

application/json

Property Type Required Description
error string Yes 403 Forbidden is the status code to return when a client has valid credentials but not enough privileges to perform an action on a resource.
404: Not Found

application/json

Property Type Required Description
error string Yes 404 Not Found is the status code that indicates a server could not find a client-requested webpage
429: Too Many Requests

application/json

Property Type Required Description
error string Yes 429 Too Many Requests is the status code that indicates the client application has surpassed its rate limit, or number of requests they can send in a given period of time

update

PUT /v1/stores/{storeId}/menu

Operation ID: PUT/v1/stores/{storeId}/menu.

Authentication: oauth2 (AccessToken).

Parameters

Parameter In Type Required Description
storeId path string Yes Store Identifier

Request body

application/json

Property Type Required Description
categories array of object Yes A list of top level categories and the relationships to subcateogries
categories[].availability array of enum: MO, TU, WE, TH, FR, SA, ... No An array containing the days of the week this category should be shown
categories[].expand_subcategories boolean No If true, subcategories will be expanded and shown directly at the top level, without requiring the user to click on the category to see the list of subcategories.
categories[].fulfillment_modes array of enum: DELIVERY, COLLECTION No An array containing the possible fulfillment modes
categories[].id string Yes Category ID (controlled by partners)
categories[].image string No Image that should be displayed along side this category. If the field is missing - any existing image will be removed.
categories[].is_tax_included boolean Yes Setting to true assumes tax is included in the price. Otherwise you will be able to set tax_percentage.
categories[].kitchen_sections array of string No A list of unique kitchen section identifiers assigned to this category
categories[].name string Yes Category Name
categories[].name_localized string No Second Language Name
categories[].schedule object No
categories[].schedule.end_date string No The date at which the menu ceases to be available, in YYYY-MM-DD format eg 2024-12-01 leave empty always visible
categories[].schedule.end_time string Yes The time at which the menu ceases to be available, in 24-hour HH:MM format, for example “08:30”, “23:00”
categories[].schedule.start_date string No The date at which the menu becomes available, in YYYY-MM-DD format eg 2024-01-01 leave empty always visible
categories[].schedule.start_time string Yes The time at which the menu becomes available, in 24-hour HH:MM format, for example “08:30”, “23:00”
categories[].sequence integer No The sequence field orders categories for display or application. It's a numeric value indicating the preferred order, with lower values shown first.
categories[].service_availability array of object No [Menu V4 only] Service availability details for the menu. Not supported in Menu V3 and below..
categories[].service_availability[].time_periods array of object Yes Time periods for the selected weekdays
categories[].service_availability[].time_periods[].time object Yes
categories[].service_availability[].time_periods[].time.from string Yes Start time in HH:MM format
categories[].service_availability[].time_periods[].time.to string Yes End time in HH:MM format
categories[].service_availability[].weekday array of enum: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, ... Yes Weekdays when the menu is available
categories[].show_online boolean No Enable or Disable whether this category shown on Foodhub platform.
categories[].subcategories array of string Yes An array of subcategory ids that should be show under this category
categories[].tax_percentage number No This will only work when tax included is false.
categories[].tax_percentage_1e4 integer No The tax rate value expressed as an integer. An integer representing a tax value scaled by a factor of 10,000.
items array of object Yes A list of items and the relationships to any modifer groups
items[].availability array of enum: MO, TU, WE, TH, FR, SA, ... No
items[].barcode string No Barcode of the item
items[].contains_alcohol boolean No This is to specify if the item contains alcohol content or not
items[].contains_tobacco boolean No This is to specify if the item contains tobacco content or not
items[].description string No Item Description
items[].dietary_labels array of enum: VEGAN, VEGETARIAN, GLUTEN_FREE, NON-VEGETARIAN No
items[].fulfillment_modes array of enum: DELIVERY, COLLECTION No
items[].id string Yes Item ID (controlled by partners)
items[].image string No Image that should be displayed along side this item. If the field is missing - any existing image will be removed.
items[].inherit_sections boolean No If true, the item will inherit kitchen sections from its parent, but only if kitchen_sections is not set
items[].is_tax_included boolean Yes Setting to true assumes tax is included in the price. Otherwise you will be able to set tax_percentage.
items[].kitchen_sections array of string No A list of unique kitchen section identifiers assigned to this item. This field takes precedence over inheritance, if provided, it will override any parent section mapping.
items[].max_permitted integer No Maximum number of items that must be selected (inclusive)
items[].min_permitted integer No Minimum number of items that must be selected (inclusive)
items[].modifier_groups array of string No
items[].name string Yes Item Name
items[].name_localized string No Second Language Name
items[].number_of_servings number No Describes the Number of servings for a item
items[].nutrition_info object No Defines nutritional details for an item, and modifier. Allows updates only as a complete object.
items[].nutrition_info.additive array of enum: UNSPECIFIED, COLORANT_UNSPECIFIED, COLORANT_ADVERSE_EFFECT, PRESERVATIVES_UNSPECIFIED, PRESERVATIVES_NITRITE_CURING_SALT, PRESERVATIVES_NITRATE, ... No List of additive in the product. Allow multiple values
items[].nutrition_info.allergens array of enum: NO ALLERGENS, GLUTEN, CEREAL_UNSPECIFIED, CEREAL_WHEAT, CEREAL_RYE, CEREAL_BARLEY, ... No List of allergens in the product. Allow multiple values
items[].nutrition_info.calories object No
items[].nutrition_info.calories.lower_range number Yes The lower range of the energy content.
items[].nutrition_info.calories.upper_range number Yes The upper range of the energy content.
items[].nutrition_info.carbohydrates object No
items[].nutrition_info.carbohydrates.lower_range number Yes The lower range of the energy content.
items[].nutrition_info.carbohydrates.upper_range number Yes The upper range of the energy content.
items[].nutrition_info.dietary_restriction enum: VEGETARIAN, VEGAN, GLUTEN_FREE, NON-VEGETARIAN No List of dietary restriction in the product. Allow single value.
items[].nutrition_info.kilojoules object No
items[].nutrition_info.kilojoules.lower_range number Yes The lower range of the energy content.
items[].nutrition_info.kilojoules.upper_range number Yes The upper range of the energy content.
items[].nutrition_info.protein object No
items[].nutrition_info.protein.lower_range number Yes The lower range of the energy content.
items[].nutrition_info.protein.upper_range number Yes The upper range of the energy content.
items[].nutrition_info.salt object No
items[].nutrition_info.salt.lower_range number Yes The lower range of the energy content.
items[].nutrition_info.salt.upper_range number Yes The upper range of the energy content.
items[].nutrition_info.saturated_fat object No
items[].nutrition_info.saturated_fat.lower_range number Yes The lower range of the energy content.
items[].nutrition_info.saturated_fat.upper_range number Yes The upper range of the energy content.
items[].nutrition_info.spiciness enum: UNKNOWN, MILD, MEDIUM, HOT, VERY_HOT No List of spiciness in the product.Allow single value.
items[].nutrition_info.sugar object No
items[].nutrition_info.sugar.lower_range number Yes The lower range of the energy content.
items[].nutrition_info.sugar.upper_range number Yes The upper range of the energy content.
items[].offer enum: BOGOF, BOGOH No Offer Type
items[].price integer Yes Menu item price value, represented in the lowest currency unit, such as pence, paise, cents, yen, etc.
items[].restriction_tag string No Restriction tag of an item
items[].schedule object No
items[].schedule.end_date string No The date at which the menu ceases to be available, in YYYY-MM-DD format eg 2024-12-01 leave empty always visible
items[].schedule.end_time string Yes The time at which the menu ceases to be available, in 24-hour HH:MM format, for example “08:30”, “23:00”
items[].schedule.start_date string No The date at which the menu becomes available, in YYYY-MM-DD format eg 2024-01-01 leave empty always visible
items[].schedule.start_time string Yes The time at which the menu becomes available, in 24-hour HH:MM format, for example “08:30”, “23:00”
items[].selections array of object No
items[].selections[].max_permitted number No Maximum quantity allowed (inclusive). max_permitted cannot be less than min_permitted.
items[].selections[].min_permitted number No Minimum quantity allowed (inclusive) -- Cannot be negative.
items[].selections[].modifier_group_id string Yes Modifier Group reference ID
items[].selections[].modifiers array of object Yes
items[].selections[].modifiers[].max_permitted number No Maximum quantity allowed (inclusive). max_permitted cannot be less than min_permitted.
items[].selections[].modifiers[].min_permitted number No Minimum quantity allowed (inclusive) -- Cannot be negative.
items[].selections[].modifiers[].modifier_id string Yes Modifier reference ID
items[].selections[].modifiers[].price integer No Override price for the modifier, represented in the lowest currency unit, such as pence, paise, cents, yen, etc.
items[].selections[].modifiers[].selections array of any No Nested selections for the modifier groups
items[].selections[].modifiers[].show_online boolean No Show the modifier online or not praticular item
items[].sequence integer No The sequence field orders items for display or application. It's a numeric value indicating the preferred order, with lower values shown first.
items[].service_availability array of object No [Menu V4 only] Service availability details for the menu. Not supported in Menu V3 and below..
items[].service_availability[].time_periods array of object Yes Time periods for the selected weekdays
items[].service_availability[].time_periods[].time object Yes
items[].service_availability[].time_periods[].time.from string Yes Start time in HH:MM format
items[].service_availability[].time_periods[].time.to string Yes End time in HH:MM format
items[].service_availability[].weekday array of enum: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, ... Yes Weekdays when the menu is available
items[].show_online boolean No Enable or Disable whether this category shown on Foodhub platform.
items[].tax_percentage number No This will only work when tax included is false.
items[].tax_percentage_1e4 integer No The tax rate value expressed as an integer. An integer representing a tax value scaled by a factor of 10,000.
menus array of object No A list of multiple menu.
menus[].categories array of object Yes Menu categories with nested subcategories and items
menus[].categories[].reference_id string Yes Category identifier
menus[].categories[].subcategories array of object Yes
menus[].categories[].subcategories[].items array of object Yes
menus[].categories[].subcategories[].items[].price integer No Item price as a formatted number
menus[].categories[].subcategories[].items[].reference_id string Yes Item identifier
menus[].categories[].subcategories[].items[].selections array of object No
menus[].categories[].subcategories[].reference_id string Yes Subcategory identifier
menus[].fulfillment array of enum: DELIVERY, COLLECTION, INSTORE Yes Supported fulfillment modes for this menu
menus[].id string Yes Menu identifier
menus[].name string Yes Menu name
menus[].name_localized string No Second language menu name
menus[].service_availability array of object Yes [Menu V4 only] Service availability details for the menu. Not supported in Menu V3 and below..
menus[].service_availability[].time_periods array of object Yes Time periods for the selected weekdays
menus[].service_availability[].time_periods[].time object Yes
menus[].service_availability[].time_periods[].time.from string Yes Start time in HH:MM format
menus[].service_availability[].time_periods[].time.to string Yes End time in HH:MM format
menus[].service_availability[].weekday array of enum: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, ... Yes Weekdays when the menu is available
modifier_groups array of object Yes A list of modifier groups and the relationships to modifiers
modifier_groups[].description string No
modifier_groups[].id string Yes Modifier Group ID (controlled by partners)
modifier_groups[].max_permitted number No Maximum quantity allowed (inclusive). max_permitted cannot be less than min_permitted.
modifier_groups[].min_permitted number No Minimum quantity allowed (inclusive) -- Cannot be negative.
modifier_groups[].modifiers array of string Yes
modifier_groups[].name string Yes Modifier Group Name
modifier_groups[].name_localized string No Second Language Name
modifier_groups[].sequence integer No The sequence field orders modifier groups for display or application. It's a numeric value indicating the preferred order, with lower values shown first.
modifier_groups[].type enum: HALF_N_HALF, NONE No Defines the Half_N_Half type for the Modifier Group. When specified, modifiers will be categorized as left, whole, or right side options.
modifiers array of object Yes A list of modifiers that can be used by modifier groups
modifiers[].contains_alcohol boolean No This is to specify if the item contains alcohol content or not
modifiers[].contains_tobacco boolean No This is to specify if the item contains tobacco content or not
modifiers[].dietary_labels array of enum: VEGAN, VEGETARIAN, GLUTEN_FREE, NON-VEGETARIAN No
modifiers[].id string Yes Modifier ID (controlled by partners)
modifiers[].image string No Image that should be displayed along side this modifier. If the field is missing - any existing image will be removed.
modifiers[].is_tax_included boolean Yes Setting to true assumes tax is included in the price. Otherwise you will be able to set tax_percentage.
modifiers[].kitchen_sections array of string No A list of unique kitchen section identifiers assigned to this modifier. This field takes precedence over inheritance, if provided, it will override any parent section mapping.
modifiers[].max_permitted number No Maximum quantity allowed (inclusive). max_permitted cannot be less than min_permitted.
modifiers[].min_permitted number No Minimum quantity allowed (inclusive) -- Cannot be negative.
modifiers[].modifier_groups array of string No
modifiers[].name string Yes Modifier Name
modifiers[].name_localized string No Second Language Name
modifiers[].nutrition_info object No Defines nutritional details for an item, and modifier. Allows updates only as a complete object.
modifiers[].nutrition_info.additive array of enum: UNSPECIFIED, COLORANT_UNSPECIFIED, COLORANT_ADVERSE_EFFECT, PRESERVATIVES_UNSPECIFIED, PRESERVATIVES_NITRITE_CURING_SALT, PRESERVATIVES_NITRATE, ... No List of additive in the product. Allow multiple values
modifiers[].nutrition_info.allergens array of enum: NO ALLERGENS, GLUTEN, CEREAL_UNSPECIFIED, CEREAL_WHEAT, CEREAL_RYE, CEREAL_BARLEY, ... No List of allergens in the product. Allow multiple values
modifiers[].nutrition_info.calories object No
modifiers[].nutrition_info.calories.lower_range number Yes The lower range of the energy content.
modifiers[].nutrition_info.calories.upper_range number Yes The upper range of the energy content.
modifiers[].nutrition_info.carbohydrates object No
modifiers[].nutrition_info.carbohydrates.lower_range number Yes The lower range of the energy content.
modifiers[].nutrition_info.carbohydrates.upper_range number Yes The upper range of the energy content.
modifiers[].nutrition_info.dietary_restriction enum: VEGETARIAN, VEGAN, GLUTEN_FREE, NON-VEGETARIAN No List of dietary restriction in the product. Allow single value.
modifiers[].nutrition_info.kilojoules object No
modifiers[].nutrition_info.kilojoules.lower_range number Yes The lower range of the energy content.
modifiers[].nutrition_info.kilojoules.upper_range number Yes The upper range of the energy content.
modifiers[].nutrition_info.protein object No
modifiers[].nutrition_info.protein.lower_range number Yes The lower range of the energy content.
modifiers[].nutrition_info.protein.upper_range number Yes The upper range of the energy content.
modifiers[].nutrition_info.salt object No
modifiers[].nutrition_info.salt.lower_range number Yes The lower range of the energy content.
modifiers[].nutrition_info.salt.upper_range number Yes The upper range of the energy content.
modifiers[].nutrition_info.saturated_fat object No
modifiers[].nutrition_info.saturated_fat.lower_range number Yes The lower range of the energy content.
modifiers[].nutrition_info.saturated_fat.upper_range number Yes The upper range of the energy content.
modifiers[].nutrition_info.spiciness enum: UNKNOWN, MILD, MEDIUM, HOT, VERY_HOT No List of spiciness in the product.Allow single value.
modifiers[].nutrition_info.sugar object No
modifiers[].nutrition_info.sugar.lower_range number Yes The lower range of the energy content.
modifiers[].nutrition_info.sugar.upper_range number Yes The upper range of the energy content.
modifiers[].offer enum: BOGOF, BOGOH No Offer Type
modifiers[].pre_selected enum: YES, NO No Enable to set this modifier as default.
modifiers[].price integer Yes Item Modifier price value, represented in the lowest currency unit, such as pence, paise, cents, yen, etc.
modifiers[].price_for_half integer No Item Modifier custom price value, represented in the lowest currency unit, such as pence, paise, cents, yen, etc. Only applicable for Half_N_Half modifiers
modifiers[].sequence integer No The sequence field orders addons for display or application. It's a numeric value indicating the preferred order, with lower values shown first.
modifiers[].show_online boolean No Enable or Disable whether this category shown on Foodhub platform.
modifiers[].tax_percentage number No This will only work when tax included is false.
modifiers[].tax_percentage_1e4 integer No The tax rate value expressed as an integer. An integer representing a tax value scaled by a factor of 10,000.
subcategories array of object Yes A list of subcategories and the relationships to items
subcategories[].availability array of enum: MO, TU, WE, TH, FR, SA, ... No An array containing the days of hte week this subcategory should be shown
subcategories[].description string No
subcategories[].fulfillment_modes array of enum: DELIVERY, COLLECTION No An array containing the possible fulfillment modes
subcategories[].id string Yes Subcategory ID (controlled by partners)
subcategories[].image string No Image that should be displayed along side this subcategory. If the field is missing - any existing image will be removed.
subcategories[].is_tax_included boolean Yes Setting to true assumes tax is included in the price. Otherwise you will be able to set tax_percentage.
subcategories[].items array of string Yes An array of item ids that should be show under this subcategory
subcategories[].kitchen_sections array of string No A list of unique kitchen section identifiers assigned to this subcategory. This field takes precedence over inheritance, if provided, it will override any parent section mapping.
subcategories[].name string Yes Subcategory Name
subcategories[].name_localized string No Second Language Name
subcategories[].schedule object No
subcategories[].schedule.end_date string No The date at which the menu ceases to be available, in YYYY-MM-DD format eg 2024-12-01 leave empty always visible
subcategories[].schedule.end_time string Yes The time at which the menu ceases to be available, in 24-hour HH:MM format, for example “08:30”, “23:00”
subcategories[].schedule.start_date string No The date at which the menu becomes available, in YYYY-MM-DD format eg 2024-01-01 leave empty always visible
subcategories[].schedule.start_time string Yes The time at which the menu becomes available, in 24-hour HH:MM format, for example “08:30”, “23:00”
subcategories[].sequence integer No The sequence field orders subcategories for display or application. It's a numeric value indicating the preferred order, with lower values shown first.
subcategories[].service_availability array of object No [Menu V4 only] Service availability details for the menu. Not supported in Menu V3 and below..
subcategories[].service_availability[].time_periods array of object Yes Time periods for the selected weekdays
subcategories[].service_availability[].time_periods[].time object Yes
subcategories[].service_availability[].time_periods[].time.from string Yes Start time in HH:MM format
subcategories[].service_availability[].time_periods[].time.to string Yes End time in HH:MM format
subcategories[].service_availability[].weekday array of enum: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, ... Yes Weekdays when the menu is available
subcategories[].show_online boolean No Enable or Disable whether this category shown on Foodhub platform.
subcategories[].tax_percentage number No This will only work when tax included is false.
subcategories[].tax_percentage_1e4 integer No The tax rate value expressed as an integer. An integer representing a tax value scaled by a factor of 10,000.

Responses

204: No Content
400: Bad Request

application/json

Property Type Required Description
error string Yes 400 Bad Request is the status code that indicates the server cannot or will not process the request due to something that is perceived to be a client error
401: Unauthorized

application/json

Property Type Required Description
error string Yes 401 Unauthorized is the status code to return when the client provides no credentials or invalid credentials.
403: Forbidden

application/json

Property Type Required Description
error string Yes 403 Forbidden is the status code to return when a client has valid credentials but not enough privileges to perform an action on a resource.
404: Not Found

application/json

Property Type Required Description
error string Yes 404 Not Found is the status code that indicates a server could not find a client-requested webpage
429: Too Many Requests

application/json

Property Type Required Description
error string Yes 429 Too Many Requests is the status code that indicates the client application has surpassed its rate limit, or number of requests they can send in a given period of time