Get Product Inventory
Request Service
Request Method:
Request Sample:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.example.org/">
<SOAP-ENV:Body>
<ns1:callService>
<paramsJson>
{
"pageSize":"2",
"page":1,
"product_sku":"",
"product_sku_arr":["HOG100401-01-N1","HOG100105-N1"],
"platform_sku":"",
"platform_sku_arr":["4N1","5N1"],
"product_barcode":"",
"product_barcode_arr":["XX-4N1","XX-5N1"],
"warehouse_code":"WPCHI"
}
</paramsJson>
<appToken>appToken</appToken>
<appKey>appKey</appKey>
<service>getProductInventory</service>
</ns1:callService>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Request Parameter:
Parameter |
Type |
Required |
Remark |
Length Limited |
pageSize |
int |
Y |
Page size |
|
page |
int |
Y |
Current page |
|
product_sku |
String |
N |
SKU |
50 |
product_sku_arr |
Object |
N |
Multiple SKU, Array object |
200 |
platform_sku |
String |
N |
Relation SKU |
50 |
platform_sku_arr |
Object |
N |
Multiple relation SKU,Array object |
200 |
product_barcode |
String |
N |
Product barcode |
50 |
product_barcode_arr |
Object |
N |
Multiple product barcode,Array object |
200 |
warehouse_code |
String |
N |
Warehouse Code |
20 |
warehouse_code_arr |
Object |
N |
Multiple warehouse code,Array object |
50 |
Response Sample:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<SOAP-ENV:Envelope xmlns:ns1="http://www.example.org/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<ns1:callServiceResponse>
<response>
{
"ask":"Success",
"count":"2",
"data":[
{
"onway":"0",
"pending":"0",
"product_barcode":"AK-USAFF124750-N17",
"product_sku":"HOG100105-N1",
"reserved":"0",
"sellable":"111",
"shipped":"0",
"unsellable":"0",
"warehouse_code":"WPCHI",
"sn_list":[
{
"serial_number":"",
"serial_status":"",
"out_stock_code":"",
"receiving_time":"",
"out_stock_time":"",
},
{
"serial_number":"",
"serial_status":"",
"out_stock_code":"",
"receiving_time":"",
"out_stock_time":"",
}
]
},
{
"onway":"650",
"pending":"0",
"product_barcode":"AK-USAFF124750-N16",
"product_sku":"HOG100401-01-N1",
"reserved":"0",
"sellable":"0",
"shipped":"0",
"unsellable":"0",
"warehouse_code":"WPCHI",
"sn_list":[
]
}
],
"message":"Success",
"nextPage":false,
"pagination":{
"page":1,
"pageSize":2
}
}
</response>
</ns1:callServiceResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Response Parameter:
Parameter |
Type |
Remark |
onway |
String |
Under way |
pending |
String |
Pending for putaway |
product_barcode |
String |
Product barcode |
product_sku |
String |
SKU |
reserved |
String |
Reserved quantity |
sellable |
String |
Saleable quantity |
inventoryCheck |
String |
inventoryCheck quantity(Inventory inventory is not available for sale. Please consult customer service for inventory progress) |
shipped |
String |
Shipped |
unsellable |
String |
Unqualified quantity |
warehouse_code |
String |
Warehouse Code |
sn_list |
Object |
The list of serial number |
sn_list
Parameter |
Type |
Remark |
serial_number |
String |
Serial number |
serial_status |
int |
Serial status:0-pending,10-Received,20-Shipped |
out_stock_code |
String |
Order Number |
receiving_time |
datetime |
Inbound Time |
out_stock_time |
datetime |
OutBound Time |
作者:WesternPost 创建时间:2021-06-30 01:53
更新时间:2024-12-31 02:56