Menu Update

Customers will publish their menu to a provided webhook URL. This delivers JSON containing all the necessary attributes to display their menu as intended

Body Params
json
Defaults to [ { "availabilities": [ { "dayOfWeek": 1, "endTime": "17:00", "startTime": "09:00" }, { "dayOfWeek": 2, "endTime": "17:00", "startTime": "09:00" }, { "dayOfWeek": 3, "endTime": "17:00", "startTime": "09:00" }, { "dayOfWeek": 4, "endTime": "17:00", "startTime": "09:00" }, { "dayOfWeek": 5, "endTime": "17:00", "startTime": "09:00" }, { "dayOfWeek": 6, "endTime": "17:00", "startTime": "09:00" }, { "dayOfWeek": 6, "endTime": "22:00", "startTime": "19:00" }, { "dayOfWeek": 7, "endTime": "17:00", "startTime": "09:00" } ], "bundles": {}, "categories": [ { "_id": "65********************87", "name": "Steaks", "description": "", "descriptionTranslations": {}, "nameTranslations": {}, "account": "62********************f1", "posLocationId": "", "posCategoryType": "", "posCategoryId": "", "imageUrl": "", "subCategories": [], "products": [], "availabilities": [], "level": 1, "menu": "65********************79", "sortedChannelProductIds": [], "subProducts": [ "65********************30" ], "subProductSortOrder": [] } ], "channelLinkId": "65********************7f", "currency": 3, "description": "", "descriptionTranslations": { "fr": "Un exemple de menu de diffu00e9rentes configurations de produits, profitez-enu00a0!" }, "menu": "Example Menu", "menuId": "65********************79", "menuImageURL": "", "menuType": 0, "modifierGroups": { "65********************31": { "_id": "65********************31", "name": "Cooking instructions", "description": "", "descriptionTranslations": {}, "nameTranslations": { "es": "Cocinado", "fr": "Cuisson" }, "account": "62********************f1", "capacityUsages": [], "deliveryTax": 9000, "eatInTax": 9000, "takeawayTax": 9000, "location": "65********************32", "max": 1, "min": 1, "multiply": 1, "plu": "MOD-01", "posCategoryIds": [], "posProductCategoryId": "", "posProductId": "", "productTags": [], "productType": 3, "subProducts": [ "65********************32", "65********************33" ], "parentId": "65********************30", "snoozed": false, "subProductSortOrder": [] } }, "modifiers": { "65********************32": { "_id": "65********************32", "name": "Rare", "description": "", "descriptionTranslations": {}, "nameTranslations": { "es": "Poco hecho", "fr": "Saignant" }, "account": "62********************f1", "capacityUsages": [], "deliveryTax": 9000, "eatInTax": 9000, "takeawayTax": 9000, "location": "65********************32", "max": 0, "min": 0, "multiply": 1, "plu": "COOK-01", "posCategoryIds": [], "posProductCategoryId": "", "posProductId": "", "price": 0, "productTags": [], "productType": 2, "subProducts": [], "parentId": "65********************31", "snoozed": false, "subProductSortOrder": [] }, "65********************34": { "_id": "65********************34", "name": "Well Done", "description": "", "descriptionTranslations": {}, "nameTranslations": { "es": "Muy hecho", "fr": "Bien cuit" }, "account": "62********************f1", "capacityUsages": [], "deliveryTax": 9000, "eatInTax": 9000, "takeawayTax": 9000, "location": "65********************32", "max": 0, "min": 0, "multiply": 1, "plu": "COOK-03", "posCategoryIds": [], "posProductCategoryId": "", "posProductId": "", "price": 0, "productTags": [], "productType": 2, "subProducts": [], "parentId": "65********************31", "snoozed": false, "subProductSortOrder": [] } }, "menuTranslations": { "fr": "Exemple de Menu" }, "nestedModifiers": true, "products": { "65********************30": { "_id": "65********************30", "name": "Delicious Steak and Frites ud83dude0b", "description": "", "descriptionTranslations": { "fr": "Exemple de produit de base avec - groupes de modificateurs - variables min/max - su00e9lection par du00e9faut - traductions" }, "nameTranslations": { "es": "Deliciosos Bistecs Fritos", "fr": "Steak Frites Du00e9licieux" }, "account": "62********************f1", "capacityUsages": [], "deliveryTax": 9000, "eatInTax": 9000, "takeawayTax": 9000, "imageUrl": "", "location": "65********************32", "max": 0, "min": 0, "multiply": 1, "plu": "STK-01", "posCategoryIds": [], "posProductCategoryId": "", "posProductId": "", "price": 1500, "productTags": [], "productType": 1, "subProducts": [ "65********************31", "65********************35" ], "parentId": "65********************87", "snoozed": false, "subProductSortOrder": [], "referenceId": "STK-01" } }, "productTags": [ 104, 108 ], "snoozedProducts": {}, "validations": [] } ]
Responses

Language
Response
Choose an example:
application/json