This endpoint is used for adjusting the physical inventory of an individual product in a warehouse. When using this endpoint, you can add or subtract units from the number of existing units of the product in that warehouse.
In order to do that, you must be an authenticated user. For information on how you can authenticate, see: Authentication. As soon as you do authentication and receive a valid token, it needs to be sent in the next call to the API.
This endpoint for the TT server is:
For your server, the endpoint will be:
- Method Type: HttpPut
- Authorization: Use Bearer Token + token received from token authentication
- Header info: Content-Type: application/json
- Body data:
Parameter Data Type Description Is Required WarehouseID integer ID of existing warehouse. Required field. Yes ProductID integer ID of existing inventory. Required field. Yes Qty integer Qty to adjust. Required field. Yes AdjustmentType enum Type of adjustment.
Subtract = 0
Add = 1
Yes Reason string Reason for doing adjustment. Required field. Yes PinCode string PinCode for verification. Optional Field. No InventoryCost decimal Inventory cost. Optional No SiteCost decimal Site cost. Optional. No
"Reason": "Bought New Items",
- If server error appears, then response will be with status code 500 => Internal Server Error
- If physical qty adjustment is successful, response will be status code 200 => Ok