Reset Product Facility Inventory
resetProductFacilityInventory
Resets a product's inventory at a facility to the level reported by an external system. The facility and product are identified by internal ids or by the external system's facility id and product identifier. The difference from the current inventory is applied through an inventory item detail and recorded in an ExternalInventoryReset row. Sending a level equal to the current one records the reset and applies no change.
VAR_EXT_RESETThe inventory quantity received from the external system to reset to.
Determines how the provided inventory level should be interpreted. Valid options: INV_RESET_QOH, INV_RESET_ATP, INV_RESET_QOH_AND_ATP.
INV_RESET_QOHSuccess
Authentication required
Access Forbidden (no authz)
Too Many Requests (tarpit)
General Error
POST /rest/s1/poorti/resetProductFacilityInventory HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 305
{
"resetDataResourceId": "text",
"sourceSystemMessageRemoteId": "text",
"facilityId": "text",
"externalFacilityId": "text",
"productId": "text",
"productIdentType": "text",
"productIdentValue": "text",
"reasonEnumId": "VAR_EXT_RESET",
"description": "text",
"externalInventoryLevel": 1,
"inventoryResetEnumId": "INV_RESET_QOH"
}{
"facilityId": "text",
"productId": "text",
"inventoryItemId": "text",
"inventoryItemATP": 1,
"inventoryItemQOH": 1,
"externalATP": 1,
"externalQOH": 1,
"quantityOnHandDiff": 1,
"availableToPromiseDiff": 1,
"resetItemId": "text"
}Last updated
Was this helpful?