getInventoryAge
Request Service
- getInventoryAge
Request Method:
- POST
Request Body:
<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":20,
"page":1,
"product_sku":"",
"product_sku_arr":["ZJ001","ZJ007"],
"product_barcode":"",
"product_barcode_arr":["ZJ001","ZJ007"],
"warehouse_code":"WPLA",
"warehouse_code_arr":["WPLA","WPLA1"],
}
</paramsJson>
<appToken>appToken</appToken>
<appKey>appKey</appKey>
<service>getInventoryAge</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 | Array | N | Multiple SKU, Array object | 200 |
product_barcode | String | N | product_barcode | 50 |
product_barcode_arr | Array | 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 Parameter:
<?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>
<callServiceResponse>
<response>
{
"ask":"Success",
"count":"2",
"data":[
{
"ib_fifo_time":"2023-04-11 18:43:15",
"ib_quantity":"1",
"inventory_age":"37",
"lc_status":"1",
"product_barcode":"001-777",
"product_sku":"777",
"product_title":"77701",
"receiving_code":"RV-001-230411-0002",
"warehouse_code":"SUN"
},
{
"ib_fifo_time":"2022-10-21 11:45:56",
"ib_quantity":"2",
"inventory_age":"209",
"lc_status":"1",
"product_barcode":"001-nc",
"product_sku":"nc",
"product_title":"nacha",
"receiving_code":"RV-001-221021-0001",
"warehouse_code":"SUN"
}
],
"message":"Success",
"nextPage":false,
"pagination":{
"page":1,
"pageSize":2
}
}
</response>
</callServiceResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Response Parameter:
Parameter | Type | Remark |
---|---|---|
product_sku | String | SKU |
product_barcode | String | Product_Sku |
warehouse_code | String | warehouse_code |
product_title | String | product_title |
ib_quantity | int | quantity |
receiving_code | String | receiving_code |
lc_status | String | status(0 used up/unavailable 1: available) |
inventory_age | int | Stock age (days) |
ib_fifo_time | Date | Listing time |
作者:郑洁 创建时间:2023-08-06 18:50
更新时间:2024-12-31 02:56
更新时间:2024-12-31 02:56