Inventory Adjustments
Apply a facility inventory variance using external facility and product identification.
Adjusts facility inventory for a product by applying a relative delta (positive or negative) identified by external or internal product and facility IDs.
Authorizations
AuthorizationstringRequired
Body
facilityIdstringOptional
externalFacilityIdstringOptional
productIdstringOptional
idTypestringOptional
idValuestringOptional
availableDeltanumberRequired
allowNegativeInventorybooleanOptionalDefault:
If false, a negative delta is limited so quantity on hand never drops below zero. Available to promise may still go negative when the removed units are reserved, until those reservations are released.
{true}commentsstringOptional
reasonEnumIdstringOptionalDefault:
VAR_MANUALResponses
200
Success
application/json
facilityIdstringOptional
productIdstringOptional
inventoryItemIdstringOptional
availableDeltanumberOptional
The delta actually applied; 0 when the adjustment was skipped.
appliedbooleanOptional
skipReasonstringOptional
Set only when applied is false.
physicalInventoryIdstringOptional
401
Authentication required
403
Access Forbidden (no authz)
429
Too Many Requests (tarpit)
500
General Error
post/inventoryAdjustments
POST /rest/s1/inventory-cycle-count/inventoryAdjustments HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 200
{
"facilityId": "text",
"externalFacilityId": "text",
"productId": "text",
"idType": "text",
"idValue": "text",
"availableDelta": 1,
"allowNegativeInventory": "{true}",
"comments": "text",
"reasonEnumId": "VAR_MANUAL"
}{
"facilityId": "text",
"productId": "text",
"inventoryItemId": "text",
"availableDelta": 1,
"applied": true,
"skipReason": "text",
"physicalInventoryId": "text"
}Last updated
Was this helpful?