Skip to main content

Update availability

Suspend or unsuspend a menu item (or other entity) on your integrated service when Otter requests it.

Before you begin​

  • Menus overview and webhook receiver ready
  • Target service supports suspend/unsuspend for the entity type

Steps​

Update availability flow

  1. Otter sends an Update menu entities availabilities (menus.update_menu_entities_availabilities) webhook.
  2. Apply suspend or unsuspend on the integrated service.
  3. POST the result to POST /v1/menus/entity/availability/bulk.

Verify​

Trigger a suspend; confirm the item is unavailable on the target and the callback succeeds.

Common failures​

SymptomLikely causeFix
Callback rejectedWrong entity id or storeUse ids from the webhook payload
Target unchangedOperation failed on channelReport failure with a user-friendly message

Next​