/erp/sc/routing/inventoryReceipt/InventoryCheck/addOrder{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/inventoryReceipt/InventoryCheck/addOrder"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"wid": 42,
"is_display_check": 1,
"check_uid": 10609364,
"remark": "gogogo",
"product_list": [
{
"product_id": 18418,
"seller_id": "0",
"fnsku": "xxx",
"whb_code": "ts_valid",
"actual_inventory": "",
"remark": "gogogo"
}
]
},
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "5E058CF8-2297-CBF5-127C-571123BE4D69",
"response_time": "2024-08-01 15:54:49",
"data": {
"order_sn": "IC240801002"
},
"total": 0
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | wid | 盘点仓库id | integer | — | Required | 盘点仓库id,对应领星系统的仓库id |
| 2 | is_display_check | 是否明盘 | integer | — | Required | 是否明盘:0 否,1 是【默认值】 |
| 3 | check_uid | 盘点人id | integer | — | Required | 盘点人id |
| 4 | remark | 单据备注 | string | — | Optional | 单据备注 |
| 5 | product_list | 盘点明细 | array<object> | — | Required | 盘点明细 |
| 5.1 | product_id | 本地产品id | integer | — | Required | 本地产品id |
| 5.2 | seller_id | 店铺id | string | — | Optional | 店铺id,传空或者不传则默认0 ,对应查询亚马逊店铺列表接口对应字段【seller_id】 |
| 5.3 | fnsku | fnsku | string | — | Optional | FNSKU,不传则默认空 |
| 5.4 | whb_code | 仓位 | string | — | Optional | 仓位,传空或者不传则默认可用暂存 |
| 5.5 | actual_inventory | 实盘库存 | integer | — | Required | 实盘库存 |
| 5.6 | remark | 盘点明细备注 | string | — | Optional | 盘点明细备注 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | Required | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | Required | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | Required | 错误信息 |
| 4 | request_id | 请求链路id | string | E487053A-3868-093F-1DFE-021B0867E205 | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2022-08-23 18:37:20 | Required | 响应时间 |
| 6 | total | 总数 | integer | 0 | Required | 总数 |
| 7 | data | 响应数据 | object | — | Required | 响应数据 |
| 7.1 | order_sn | 盘点单号 | string | IC220823001 | Required | 盘点单号 |
The 创建已完成的盘点单 API (/erp/sc/routing/inventoryReceipt/InventoryCheck/addOrder) of 领星ERP is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 领星ERP version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.