POST api/StockNotify
贝业WMS系统库存信息推送接收接口,如果库存数据操作有部分失败,接口还是会返回成功标志,但是同时会返回操作失败的记录,包括SKU和具体的失败原因。
Request Information
URI Parameters
None.
Body Parameters
商品库存信息
Collection of StockInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| batchCode | string |
None. |
|
| itemCode | string |
None. |
|
| qty | decimal number |
None. |
|
| clientCode | string |
None. |
|
| store | string |
None. |
|
| zone | string |
None. |
|
| type | string |
None. |
|
| expirationDate | date |
None. |
|
| preScanCust | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"batchCode": "sample string 1",
"itemCode": "sample string 2",
"qty": 3.0,
"clientCode": "sample string 4",
"store": "sample string 5",
"zone": "sample string 6",
"type": "sample string 7",
"expirationDate": "2026-01-17T08:36:20.1090945+08:00",
"preScanCust": "sample string 8"
},
{
"batchCode": "sample string 1",
"itemCode": "sample string 2",
"qty": 3.0,
"clientCode": "sample string 4",
"store": "sample string 5",
"zone": "sample string 6",
"type": "sample string 7",
"expirationDate": "2026-01-17T08:36:20.1090945+08:00",
"preScanCust": "sample string 8"
}
]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
贝业WMS系统库存信息推送接收接口,如果库存数据操作有部分失败,接口还是会返回成功标志,但是同时会返回操作失败的记录,包括SKU和具体的失败原因。
ApiResponseOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| Result | string |
None. |
|
| IsSuccess | boolean |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 1,
"Result": "sample string 2",
"IsSuccess": true,
"Message": "sample string 4"
}