Skip to content
English
  • There are no suggestions because the search field is empty.

Upon Sub Menu Variant Availability updated

When a variant's availability of a sub menu is updated the app_sub_menu_bulk_availability_updated event is triggered notifying app partners of the availability change of the variant against all the menu items that are linked to that variant.

EVENT app_sub_menu_bulk_availability_updated

Example

Event

{
    "event": "app_sub_menu_bulk_availability_updated",
    "data":
    {
        "locationId": "LXPxqKrev",
        "uri": "https://sandbox.doshii.co/partner/v3/locations/LXPxqKrev/menu?filtered&menuId=90524530-c1b9-41a0-96f5-3d26360671b5",
        "type": "variant",
        "items":
        [
        {
          "posId": "MEOYX7FF6J2JDL2YGR7X2NB4",
          "availability": "unavailable"
        }
        ],
        "menuId": "90524530-c1b9-41a0-96f5-3d26360671b5",
        "eventUuid": "f6c535b3-e08e-4e04-8b6d-a68bb1b738be"
    }
}