Menu API Order Platform Webhooks

Update Availability

The Update Availability endpoint allows restaurants to manage the availability status of individual items in their store's menu on the ordering platform. This API, utilized by gOnline, enables restaurants to mark an item as out of stock, indicating that it is currently unavailable for ordering, hide an item from the menu, making it invisible to customers or make an item available for ordering again, ensuring it can be selected by customers. By using this endpoint, restaurants can efficiently update their inventory in real-time, ensuring an accurate reflection of their offerings to customers.

post/menus/{menuId}/items/{itemId}/availability

Request

  • Base URL
    https://order_platform_url
  • URL
    https://order_platform_url/menus/{menuId}/items/{itemId}/availability
  • Auth
    none declared

Path parameters

menuIdstring required

The id of the menu that this item was uploaded to the ordering platform.

itemIdstring required

The id of the menu item. this could be a menu item or modifier

Request body

storeIdstring[] required

The unique identifier representing a store.

availability'AVAILABLE' | 'UNAVAILABLE' | 'HIDDEN' required

Availability types for an item

Example request

{
  "availability": "AVAILABLE"
}

Response

Successful response OK

Changes

No recorded changes to this operation across all 1 revision of this API.