# Inventory

### Endpoints

| Method | Endpoint                           | Description                                                                                      |
| ------ | ---------------------------------- | ------------------------------------------------------------------------------------------------ |
| POST   | /v4/inventory                      | [Create an inventory item.](/entities/inventory/inventory-create.md)                             |
| GET    | /v4/inventory/:id                  | [Retrieve an inventory item.](/entities/inventory/inventory-retrieve.md)                         |
| PUT    | /v4/inventory/:id                  | [Update an inventory item.](/entities/inventory/inventory-update-1.md)                           |
| DELETE | /v4/inventory/:id                  | [Delete an inventory item.](/entities/inventory/inventory-delete.md)                             |
| GET    | /v4/inventory-templates            | [Retrieve inventory templates.](/config/templates.md)                                            |
| GET    | /v4/inventory-statuses/:templateId | [Retrieve inventory statuses.](/entities/inventory/retrieve-inventory-statuses.md)               |
| GET    | /v4/inventory/:id/draft-templates  | [Retrieve inventory draft templates.](/entities/inventory/retrieve-inventory-draft-templates.md) |
| GET    | /v4/inventory/:id/keyart/url       | [Retrieve an inventory key art URL.](/entities/inventory/retrieve-an-inventory-key-art-url.md)   |
| PUT    | /v4/inventory/:id/keyart           | [Update an inventory key art.](/entities/inventory/update-an-inventory-key-art.md)               |
| DELETE | /v4/inventory/:id/keyart           | [Delete an inventory key art.](/entities/inventory/delete-an-inventory-key-art.md)               |
| POST   | /v4/inventory/:id/switch-template  | [Switch inventory template.](/entities/inventory/switch-inventory-template.md)                   |


---

# 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.rightsline.com/entities/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.
