For the complete documentation index, see llms.txt. This page is also available as Markdown.

Reset Product Facility Inventory

resetProductFacilityInventory

reset ProductFacilityInventory

post

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.

Authorizations
AuthorizationstringRequired
Body
resetDataResourceIdstringRequired
sourceSystemMessageRemoteIdstringOptional
facilityIdstringOptional
externalFacilityIdstringOptional
productIdstringOptional
productIdentTypestringOptional
productIdentValuestringOptional
reasonEnumIdstringOptionalDefault: VAR_EXT_RESET
descriptionstringOptional
externalInventoryLevelnumberRequired

The inventory quantity received from the external system to reset to.

inventoryResetEnumIdstringRequired

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
Responses
200

Success

application/json
facilityIdstringOptional
productIdstringOptional
inventoryItemIdstringOptional
inventoryItemATPnumberOptional
inventoryItemQOHnumberOptional
externalATPnumberOptional
externalQOHnumberOptional
quantityOnHandDiffnumberOptional
availableToPromiseDiffnumberOptional
resetItemIdstringOptional
post/resetProductFacilityInventory
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?