> 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/fulfillment/reset-product-facility-inventory.md).

# Reset Product Facility Inventory

resetProductFacilityInventory

## reset ProductFacilityInventory

> Resets a product's inventory at a facility to the level reported by an external system. The facility and\
> &#x20;           product are identified by internal ids or by the external system's facility id and product identifier.\
> &#x20;           The difference from the current inventory is applied through an inventory item detail and recorded in an\
> &#x20;           ExternalInventoryReset row. Sending a level equal to the current one records the reset and applies no change.

```json
{"openapi":"3.1.1","info":{"title":"Poorti API","version":"1.0.0"},"tags":[{"name":"resetProductFacilityInventory","description":"resetProductFacilityInventory"}],"servers":[{"url":"https://dev-maarg.hotwax.io/rest/s1/poorti"}],"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.resetProductFacilityInventory.Out":{"type":"object","properties":{"facilityId":{"type":"string"},"productId":{"type":"string"},"inventoryItemId":{"type":"string"},"inventoryItemATP":{"type":"number"},"inventoryItemQOH":{"type":"number"},"externalATP":{"type":"number"},"externalQOH":{"type":"number"},"quantityOnHandDiff":{"type":"number"},"availableToPromiseDiff":{"type":"number"},"resetItemId":{"type":"string"}}},"co.hotwax.poorti.FulfillmentServices.resetProductFacilityInventory.In":{"type":"object","properties":{"resetDataResourceId":{"type":"string"},"sourceSystemMessageRemoteId":{"type":"string"},"facilityId":{"type":"string"},"externalFacilityId":{"type":"string"},"productId":{"type":"string"},"productIdentType":{"type":"string"},"productIdentValue":{"type":"string"},"reasonEnumId":{"type":"string","default":"VAR_EXT_RESET"},"description":{"type":"string"},"externalInventoryLevel":{"type":"number","description":"The inventory quantity received from the external system to reset to."},"inventoryResetEnumId":{"type":"string","description":"Determines how the provided inventory level should be interpreted. Valid options: INV_RESET_QOH, INV_RESET_ATP, INV_RESET_QOH_AND_ATP.","default":"INV_RESET_QOH"}},"required":["resetDataResourceId","externalInventoryLevel","inventoryResetEnumId"]}}},"paths":{"/resetProductFacilityInventory":{"post":{"tags":["resetProductFacilityInventory"],"summary":"reset ProductFacilityInventory","description":"Resets a product's inventory at a facility to the level reported by an external system. The facility and\n            product are identified by internal ids or by the external system's facility id and product identifier.\n            The difference from the current inventory is applied through an inventory item detail and recorded in an\n            ExternalInventoryReset row. Sending a level equal to the current one records the reset and applies no change.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/co.hotwax.poorti.FulfillmentServices.resetProductFacilityInventory.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.resetProductFacilityInventory.In"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/co.hotwax.poorti.FulfillmentServices.resetProductFacilityInventory.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/fulfillment/reset-product-facility-inventory.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.
