---
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`

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 — Represents item availability status with the available quantity in stock for the specific item
  - `id` string, required — Unique id for the item.
  - `sku` string — Stock keeping unit ID for the menu item, provided by GrubTech.
  - `quantity` integer, required — Available quantity for selling for a specific item
  - `availability` 'AVAILABLE' | 'UNAVAILABLE' | 'HIDDEN', required — Availability types for an item. The external system should make an item unavailable or available on the platform based on this attribute and not based on the available quantity defined in the payload.

## Response `204`

Successful response OK

## Other responses

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

---

[API](https://skmtc.net/grubtech/apis/grubtech-auth-server.md) · [All operations](https://skmtc.net/grubtech/apis/grubtech-auth-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/grubtech/grubtech-auth-server/revisions/21688b6dcb69/schema)
