---
title: "Update Availability"
method: POST
path: "/menus/{menuId}/items/{itemId}/availability"
tags: ["Menu API Order Platform Webhooks"]
---

# Update Availability

`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

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.

## Path parameters

- `menuId` string, required
- `itemId` string, required

## Request body

- ItemAvailability
  - `storeId` string[], required: The unique identifier representing a store.
  - `availability` 'AVAILABLE' | 'UNAVAILABLE' | 'HIDDEN', required: Availability types for an item

## Response `204`

Successful response OK

## Other responses

- `400`: Bad request
- `404`: Resource not found
- `500`: Internal server error

---

[API](https://skmtc.dev/grubtech/apis/menu-api-order-platform-webhooks.md) - [All operations](https://skmtc.dev/grubtech/apis/menu-api-order-platform-webhooks/llms.txt) - [OpenAPI document](https://skmtc.dev/grubtech/apis/menu-api-order-platform-webhooks/revisions/6a7071e735fc?raw)
