This endpoint is used for setting the physical inventory of an individual product in a warehouse. To import physical inventory in bulk via the REST API, see this article.
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.
For the TT server, this endpoint will be: https://tt.api.sellercloud.com/rest/api/Inventory/SetPhysicalInventory/
For your server, this 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 Yes ProductID integer SKU of existing product Yes InventoryDate datetime Inventory Date No PhysicalQty integer Physical qty to set Yes SiteCost decimal Cost. Optional Field. No PinCode string PinCode for verification. Optional Field. No
- If server error appears, then response will be with status code 500 => Internal Server Error
- If physical qty set is successful, response will be status code 200 => Ok