Update Menu Item unavailabilities

Once a menu is sent to our platform, all the items in the menu are theoretically "available", therefore a customer can order them. This endpoint allows the caller to set items as "unavailable" or "hidden":

Statuses

unavailable: every item ID marked as unavailable will be "greyed out", "striked-through" and marked as "sold out" on our platform until the end of the current day

hidden: every item ID marked as hidden will not be visible on the menu. The item will remain hidden from the menu until a subsequent update removes its hidden status.

The call acts as a complete override of all the item unavailabilities for the given menu/site; as a corollary, sending an empty array will make everything available again.

Examples

See the following sequence of calls:

  1. set orange_juice and granola unavailable
  2. set orange_juice unavailable

After those calls, only orange_juice will remain unavailable. granola will be available.

Rate Limit

This endpoint is rate limited at 1 request per minute per site.

Not Found

Any ids sent in the request that don't exist on the requested menu will be ignored from the update.

Language
Authorization
OAuth2
URL