Set Physical Inventory

Updated 2 weeks ago ​by nussi

Overview

Endpoint is used for set 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/SetPhysicalInventory/

For your server endpoint will be:

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

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

    Yes

    ProductID

    integer

    ID of existing inventory

    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

Request Example

{
"WarehouseID": 108,
"ProductID": "test_sku",
"PhysicalQty": 100,
"SiteCost": 10.5,
"InventoryDate": "2019-11-20T11:52:32.385Z",
"PinCode": "test123"
}

Response

  • 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


How did we do?