> For the complete documentation index, see [llms.txt](https://docs.upgrade.chat/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.upgrade.chat/features/limited-inventory.md).

# Limited Inventory

## Creating a limited inventory: <a href="#setup" id="setup"></a>

In your [**https://upgrade.chat/upgrades**](https://upgrade.chat/upgrades) go to the advanced section and set your limited inventory for the products you want to be limited to a certain number of people. Every time someone purchases, the inventory count will decrease until it hits zero. When there is no inventory, the product will disappear from the checkout page and people will not be able to purchase it unless you save the product again with a new inventory count above one.&#x20;

![](/files/-Mb7GIKlpsZ8utxEKV3w)

{% hint style="info" %}
When there is no inventory, the product will disappear from the checkout page.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://docs.upgrade.chat/features/limited-inventory.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.
