When a variant's availability is updated in Doshii Menu Manager the app_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_menu_bulk_availability_updated
Example
Event
{
"event": "app_menu_bulk_availability_updated",
"data": {
"locationId": "xyZaBc123",
"items": [{ "posId": "1234", "availability": "available | unavailable" }],
"type": "variant",
"uri": "https://sandbox.doshii.co/partner/v3/locations/xyZaBc123/menu?filtered",
}
}
Simulating Availability By Variant feature in Doshii Dashboard
- Login to Doshii Dashboard in the sandbox environment using your sandbox credentials (https://dashboard.sandbox.doshii.io/)
- Click on the following link to access Menu Manager sandbox.
https://menu-888111222.sandbox.doshii.com/venue/{doshiHashedLocationId}/menus
Note that you will need to use your venue's hashed location id in the URL - Navigate to your menu and select the options tab to view the variants availability
- Change a selected variant's availability to `available` or `unavailable`
This will trigger the app_menu_bulk_availability_updated webhook event notifying the app of the change.