# Inventory Discrepancies

Operation related to inventory discrepancies

## List inventory discrepancies

> Returns a paginated list of inventory discrepancy records.

```json
{"openapi":"3.0.0","info":{"title":"Inventory Discrepancy API","version":"1.0.0"},"tags":[{"name":"inventory-discrepancies","description":"Operation related to inventory discrepancies"}],"servers":[{"url":"https://{domain}/api/v1/oms","variables":{"domain":{"default":"sandbox.akinon.com"}}}],"security":[{"tokenAuth":[]}],"components":{"securitySchemes":{"tokenAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"Use format: `Token <your_token>`"}},"parameters":{"format":{"name":"format","in":"query","description":"Response format","schema":{"type":"string","enum":["json"],"default":"json"}},"page":{"name":"page","in":"query","description":"Page number","schema":{"type":"integer","default":1}},"limit":{"name":"limit","in":"query","description":"Number of items per page","schema":{"type":"integer","default":20}}},"schemas":{"InventoryDiscrepancy":{"type":"object","properties":{"id":{"type":"integer"},"reason":{"type":"string","default":"out_of_stock"},"created_date":{"type":"string","format":"date-time"},"modified_date":{"type":"string","format":"date-time"},"is_active":{"type":"boolean"},"stock_location":{"type":"integer"},"package_item":{"type":"integer"},"transfer_item":{"type":"integer"}}}},"responses":{"Forbidden":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"detail":{"type":"string"}}},"status_code":{"type":"integer"}}}}}}}},"paths":{"/inventory-discrepancies/":{"get":{"tags":["inventory-discrepancies"],"summary":"List inventory discrepancies","description":"Returns a paginated list of inventory discrepancy records.","parameters":[{"$ref":"#/components/parameters/format"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/limit"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer"},"next":{"type":"string","nullable":true},"previous":{"type":"string","nullable":true},"results":{"type":"array","items":{"$ref":"#/components/schemas/InventoryDiscrepancy"}}}}}}},"403":{"$ref":"#/components/responses/Forbidden"}}}}}}
```

## Retrieve an inventory discrepancy

> Returns the details of a single inventory discrepancy record identified by its ID.

```json
{"openapi":"3.0.0","info":{"title":"Inventory Discrepancy API","version":"1.0.0"},"tags":[{"name":"inventory-discrepancies","description":"Operation related to inventory discrepancies"}],"servers":[{"url":"https://{domain}/api/v1/oms","variables":{"domain":{"default":"sandbox.akinon.com"}}}],"security":[{"tokenAuth":[]}],"components":{"securitySchemes":{"tokenAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"Use format: `Token <your_token>`"}},"parameters":{"format":{"name":"format","in":"query","description":"Response format","schema":{"type":"string","enum":["json"],"default":"json"}}},"schemas":{"InventoryDiscrepancy":{"type":"object","properties":{"id":{"type":"integer"},"reason":{"type":"string","default":"out_of_stock"},"created_date":{"type":"string","format":"date-time"},"modified_date":{"type":"string","format":"date-time"},"is_active":{"type":"boolean"},"stock_location":{"type":"integer"},"package_item":{"type":"integer"},"transfer_item":{"type":"integer"}}}},"responses":{"Forbidden":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"detail":{"type":"string"}}},"status_code":{"type":"integer"}}}}}},"NotFound":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"detail":{"type":"string"}}},"status_code":{"type":"integer"}}}}}}}},"paths":{"/inventory-discrepancies/{id}/":{"get":{"tags":["inventory-discrepancies"],"summary":"Retrieve an inventory discrepancy","description":"Returns the details of a single inventory discrepancy record identified by its ID.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"$ref":"#/components/parameters/format"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InventoryDiscrepancy"}}}},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}}}}
```


---

# 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://apidocs.akinon.com/oms-openapis/reservation/inventory-discrepancies.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.
