> For the complete documentation index, see [llms.txt](https://docs.hotwax.co/documents/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hotwax.co/documents/integrate-with-hotwax/components/inventory-count/inventory-adjustments.md).

# Inventory Adjustments

Apply a facility inventory variance using external facility and product identification.

## adjust InventoryDeltaByIdentification

> Adjusts facility inventory for a product by applying a relative delta (positive or negative)\
> &#x20;           identified by external or internal product and facility IDs.

```json
{"openapi":"3.1.1","info":{"title":"Directed Cycle Count REST API","version":"4.0.0"},"tags":[{"name":"inventoryAdjustments","description":"Apply a facility inventory variance using external facility and product identification."}],"servers":[{"url":"https://dev-maarg.hotwax.io/rest/s1/inventory-cycle-count"}],"security":[{"basicAuth":[]},{"api_key":[]}],"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic"},"api_key":{"type":"apiKey","name":"api_key","in":"header","description":"HTTP Header api_key"}},"schemas":{"co.hotwax.poorti.FulfillmentServices.adjustInventoryDeltaByIdentification.Out":{"type":"object","properties":{"facilityId":{"type":"string"},"productId":{"type":"string"},"inventoryItemId":{"type":"string"},"availableDelta":{"type":"number","description":"The delta actually applied; 0 when the adjustment was skipped."},"applied":{"type":"boolean"},"skipReason":{"type":"string","description":"Set only when applied is false."},"physicalInventoryId":{"type":"string"}}},"co.hotwax.poorti.FulfillmentServices.adjustInventoryDeltaByIdentification.In":{"type":"object","properties":{"facilityId":{"type":"string"},"externalFacilityId":{"type":"string"},"productId":{"type":"string"},"idType":{"type":"string"},"idValue":{"type":"string"},"availableDelta":{"type":"number"},"allowNegativeInventory":{"type":"boolean","description":"If false, a negative delta is limited so quantity on hand never drops below zero. Available to promise\n                    may still go negative when the removed units are reserved, until those reservations are released.","default":"{true}"},"comments":{"type":"string"},"reasonEnumId":{"type":"string","default":"VAR_MANUAL"}},"required":["availableDelta"]}}},"paths":{"/inventoryAdjustments":{"post":{"tags":["inventoryAdjustments"],"summary":"adjust InventoryDeltaByIdentification","description":"Adjusts facility inventory for a product by applying a relative delta (positive or negative)\n            identified by external or internal product and facility IDs.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/co.hotwax.poorti.FulfillmentServices.adjustInventoryDeltaByIdentification.Out"}}}},"401":{"description":"Authentication required"},"403":{"description":"Access Forbidden (no authz)"},"429":{"description":"Too Many Requests (tarpit)"},"500":{"description":"General Error"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/co.hotwax.poorti.FulfillmentServices.adjustInventoryDeltaByIdentification.In"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/co.hotwax.poorti.FulfillmentServices.adjustInventoryDeltaByIdentification.In"}}},"required":true}}}}}
```


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.hotwax.co/documents/integrate-with-hotwax/components/inventory-count/inventory-adjustments.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
