Adjust Physical Inventory

Updated 2 weeks ago ​by nussi

Overview

Endpoint is used for adjust physical inventory in a warehouse.

In order to do that, you must:

  • Be 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 send in the next call. to the API.

Endpoint

Example for such endpoint for TT server is https://tt.api.sellercloud.com/rest/api/Inventory/AdjustPhysicalInventory/

For your server 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


How did we do?