Description

Get the product info (count / status ...) in each warehouse.

Path

HTTP Verb

URL

POST

/api/supplier-service/v1/b2b/inventory


Header Sample


POST /api/supplier-service/v1/b2b/inventory HTTP/1.1
Content-Type: application/json
Accept: application/json
User-Agent: Mozilla 5.0
Host: http://qa.etowertech.com/
X-WallTech-Date: Thu, 06 Aug 2020 06:36:24 GMT
Authorization: WallTech testLvs2jdug2qIoRsJyuxs:VaWNgikNP0NGcoxVCeWYid50MYQ=



Fields

Field

Data Type

Length

Mandatory

Description

skuList

String[]

SKU code list

shipperName

String

Shipper name

sku

String

SKU code

skuNameEn

String

Product name in English

skuNameLocal

String

Product name in Chinese

warehouseInventoryDTOList

Object[]

Inventory list

availableInventory

Int

Available inventory of product

incomingInventory

Int

Incoming inventory of product

outgoingInventory

Int

Outgoing inventory of product

overseasWarehouseCode

String

Warehouse code

overseasWarehouseName

String

Warehouse name

unsellableInventory

Int

Outgoing inventory of product

code

String

Response code

errors

Object[]

Response error

message

String

Response message

messageId

String

Response message ID

success

Boolean

Success

warnList




No use


Request Sample

{
    "skuList": [
        "AWE001",
        "202206160010"   
 ]
}

Response

{
    "code": "0",
    "data": [
        {
            "shipperName": "xz",
            "sku": "202206160010",
            "skuNameEn": "note book",
            "skuNameLocal": "记事本",
            "warehouseInventoryDTOList": [
                {
                    "availableInventory": 0,
                    "incomingInventory": 620,
                    "outgoingInventory": 0,
                    "overseasWarehouseCode": "mghc",
                    "overseasWarehouseName": "美国货仓",
                    "unsellableInventory": ""
                },
                {
                    "availableInventory": 26,
                    "incomingInventory": 580,
                    "outgoingInventory": 5,
                    "overseasWarehouseCode": "elsck",
                    "overseasWarehouseName": "俄罗斯仓库",
                    "unsellableInventory": ""
                }
            ]
        },
        {
            "shipperName": "xz",
            "sku": "AWE001",
            "skuNameEn": "bag",
            "skuNameLocal": "背包",
            "warehouseInventoryDTOList": [
                {
                    "availableInventory": 75,
                    "incomingInventory": 0,
                    "outgoingInventory": 20,
                    "overseasWarehouseCode": "USEA",
                    "overseasWarehouseName": "谷仓",
                    "unsellableInventory": 0
                }
            ]
        }
    ],
    "errors": "",
    "message": "",
    "messageId": "",
    "success": true,
    "warnList": ""
}



{
    "code": "0",
    "data": [],
    "errors": "",
    "message": "",
    "messageId": "",
    "success": true,
    "warnList": ""
}