Public API
Menus API
Subscribing to Menu Notifications
7min
subscribing to menu notifications subscribing to menu and menu creation request notifications works in the same way as for other event subscriptions documented in the subscription api docid\ vmkcbjsfouh t4dt406 k section please refer to this section for detailed information, including what input fields and enums are available menu creation request notifications when subscribing to menucreationrequest notifications please use evententity enum of menucreationrequest eventkey enums of succeeded , succeeded with warnings , or failed parententity enum should be caterer variables below is a example of the variables that would be used with subscription create docid\ ywds1a gxebjwkne8v90s to subscribe to menucreationrequest notifications variables { "subscriptionparams" { "evententity" "menucreationrequest", "eventkey" "succeeded", "parententity" "caterer", "parentid" "ezcater caterer id", "subscriberid" "your subscriber id" } } notifications notification success { "id" "notification id", "parent type" "caterer", "parent id" "ezcater caterer id", "entity type" "menucreationrequest", "entity id" "your menu creation request id", "key" "succeeded", "created at" "2025 04 15 23 48 23 utc", "occurred at" "2025 04 15 23 48 21 utc", "updated at" "2025 04 15 23 48 23 utc", "payload"\ null } notification success with warning { "id" "notification id", "parent type" "caterer", "parent id" "ezcater caterer id", "entity type" "menucreationrequest", "entity id" "your menu creation request id", "key" "succeeded with warnings", "created at" "2025 04 15 23 48 23 utc", "occurred at" "2025 04 15 23 48 21 utc", "updated at" "2025 04 15 23 48 23 utc", "payload"\ null } notification failed { "id" "notification id", "parent type" "caterer", "parent id" "ezcater caterer id", "entity type" "menucreationrequest", "entity id" "your menu creation request id", "key" "failed", "created at" "2025 04 15 23 48 23 utc", "occurred at" "2025 04 15 23 48 21 utc", "updated at" "2025 04 15 23 48 23 utc", "payload"\ null } menu notifications when subscribing to menu notifications please use evententity enum of menu eventkey enums of updated parententity enum should be caterer variables below is a example of the variables that would be used with subscription create docid\ ywds1a gxebjwkne8v90s to subscribe to menu notifications variables { "subscriptionparams" { "evententity" "menu", "eventkey" "updated", "parententity" "caterer", "parentid" "ezcater caterer id", "subscriberid" "your subscriber id" } } notifications notification { "id" "notification id", "parent type" "caterer", "parent id" "ezcater caterer id", "entity type" "menu", "entity id" "your menu creation request id", "key" "updated", "created at" "2025 04 15 23 48 23 utc", "occurred at" "2025 04 15 23 48 21 utc", "updated at" "2025 04 15 23 48 23 utc", "payload"\ null }