Menu API Grubtech Endpoints

Update Availability

The Update Availability endpoint is designed to modify the availability status of a specific menu item within a menu associated with a particular store. This functionality is useful for managing the real-time availability of menu items, allowing stores to mark items as available or unavailable based on stock levels, operational changes, or other conditions.

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

Request

  • Base URL
    https://api.staging.grubtech.io/menu/v1
  • URL
    https://api.staging.grubtech.io/menu/v1/menus/{menuId}/items/{itemId}/availability
  • Auth
    API key in header X-API-KEY

Path parameters

menuIdstring required

Menu id

itemIdstring required

Item id

Request body

storeIdstring required

The store id where the items is associated with

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

Availability types for an item

Example request

{
  "storeId": "5fe33b6a48c2a05c552e669b",
  "availability": "AVAILABLE"
}

Response

Successful response OK

Changes

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