Adjust Physical Inventory

Overview

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.

Endpoint

This endpoint for the TT server is:

https://tt.api.sellercloud.com/rest/api/Inventory/AdjustPhysicalInventory/

For your server, the endpoint will be:

https://{your_server_id}.api.sellercloud.com/rest/api/Inventory/AdjustPhysicalInventory/

Request

  • 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

Request Example

{
  "WarehouseID": 108,
  "ProductID": "test_sku",
  "Qty": 100,
  "AdjustmentType": 1,
  "Reason": "Bought New Items",
  "SiteCost": 10.5,
  "InventoryCost": 11,
  "PinCode": "test123"
}

Response

  • 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

Was this article helpful?

Next
Queued Job Types