# Item/Option

The stores, during operational hours, might run out of items or certain options (variants or add ons) and hence it is important to have control on the store's side to turn them off when unavailable. This can be done through our Item/Option action API. Using this API an item or option can be toggled off if unavailable and toggled on when available. However, if you turn off an item/option and do not explicitly turn it on, the item/option will continue to stay out of stock on all the aggregator platforms.

The details of the API is available in the [API document](/downstream/api/endpoints/menu/menu-toggle.md). Please note that the item/option action API requests are processed asynchronously in our system and hence you will receive the result of the processing of the request through the Item Actions Callback.

While you start do put the status of this API in the Gamma dashboard to *In-Progress* and change it to *To-be-verified* once the same is tested and implemented on your side.

#### Item/option Actions API

![Item/Option Feature Update in Gamma](/files/xPqJX9wKVyJ6rqMJS7hJ)

#### Item Actions Callback

![Item Actions Callback Feature Update in Gamma](/files/TIj6XNgbIHO7hu4GjJ6L)

#### Option Actions Callback

![Option Actions Callback Feature Update in Gamma](/files/EY7ofARwJR3uee7wo9bL)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api-docs.urbanpiper.com/downstream/availability/item-option.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
