Restaurant Menu Items Catalog
POST
https://services.onlinesales.ai/merchandiseFeedService/foodcommerce/menu_items
Query Parameters
Name | Type | Description |
---|---|---|
client_id* | number | Identifier provided by Onlinesales at the time of integration. |
token* | string | Authentication token provided by Onlinesales at the time of integration |
menu_items* | array | Array Of Menu Items. Each menu item should be uniquely identified by "id" parameter. If the menu item is already present in Onlinesales system, it will be updated with the new values else it will be created. For better response time use batch size of 50. |
Sample API Call
Menu Items Object
Parameters | Data Type | Comments | Required? |
---|---|---|---|
id | string | sku_id | Yes |
name | string | Name of the item | Yes |
description | string | Description of the item | Yes |
product_category | string | Category of the item, in breadcrumb format Example: Pizza > Veg Pizza | Yes |
product_category_ids | string | Category id the item belongs to, in breadcrumb format Example: 1 > 98 | No |
link | string | Link of the item | Yes |
mobile_link | string | Deep link of the item for mobile | No |
image_link | string | Link of the item's image | No |
image_link_1 | string | Link of the item's image | No |
image_link_2 | string | Link of the item's image | No |
image_link_3 | string | Link of the item's image | No |
brand | string | Name of the brand the item belongs to | No |
brand_id | string | Id of the brand the item belongs to | No |
availability | string | Availability status of the item Example: in_stock; out_of_stock | Yes |
price | string | Price of the item | Yes |
sale_price | string | Discounted price of the item | No |
restaurant_id | string | Id of the restaurant the items belongs to | Yes |
diet_categories | array of string | Example: veg, non-veg, vegan | No |
item_group_id | string | Id of the group item variants in your data | No |
cuisines | array of string | Cuisines the item belongs to Example: Italian, Dessert | No |
is_popular | boolean | Example: true; false | No |
rt_custom_label_0 | string | Real time custom parameter if any | No |
rt_custom_label_1 | string | Real time custom parameter if any | No |
rt_custom_label_2 | string | Real time custom parameter if any | No |
rt_custom_label_3 | string | Real time custom parameter if any | No |
rt_custom_label_4 | string | Real time custom parameter if any | No |
custom_label_0 | string | Any custom parameter | No |
custom_label_1 | string | Any custom parameter | No |
custom_label_2 | string | Any custom parameter | No |
custom_label_3 | string | Any custom parameter | No |
custom_label_4 | string | Any custom parameter | No |
Last updated