Update Inventory
Learn how to update product inventory in HotWax by logging variances of inputted amounts.
Updates the inventory of products in HotWax by logging a variance of the inputted amount. To update inventory you will need to call the endpoint with the POST method.
Example:
Request
End Point
https://<host>/api/service/updateInventoryByIdentification
Example: https://demo-oms.hotwax.io/api/service/updateInventoryByIdentification
Header
Content-Type: application/json
Authentication
To access this endpoint, you need to include the authorization token in the request header.
Authorization: Bearer <access_token>
To learn more about Bearer token authentication, read this document
Body
Sample:
Parameters | Description | Required (Y/N) |
---|---|---|
| The type of product identifier. Currently supported ID types are SKU, UPCA,Shopify_Prod_ID | Y |
| The value of product identifier | Y |
| The variance in inventory quantity(delta) | Y |
| The external facility ID where inventory item needs to be updated | Y |
| The location ID in the facility where inventory item needs to be updated | Y |
| The ID of the reason that caused variance in inventory | Y |
Table of valid variance reasons and their IDs:
Variance Reason ID | Description |
---|---|
| Inventory does not match the available SKU |
| SKU is not available |
| Use to pass null variance where variance field is required but not used |
| Ordered SKU is rejected due to inventory damage |
| Inventory consumed by sales made on an external point of sale system in the store |
| Reduce damaged inventory from available quantity |
| SKU inventory is lost |
| Lost SKU inventory is found |
| SKU inventory is worn and unsuable from being on display |
| SKU inventory adjustment is done manually |
Response
Status Code
HTTP/1.1 200 OK
Headers
Content-Type: application/json
Body
Sample:
Last updated