/erp/sc/routing/inventoryReceipt/StorageAdjustment/addRebrandAdjustmentOrder{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/inventoryReceipt/StorageAdjustment/addRebrandAdjustmentOrder"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"wid": 1,
"remark": "单据备注",
"bin_type": 2,
"product_list": [
{
"product_id": 1,
"seller_id": "1",
"fnsku": "XXX111",
"to_seller_id": 2,
"to_fnsku": "XXX222",
"adjustment_valid_num": 1,
"product_remark": "产品备注",
"out_available_bin": [
{
"whb_code": "T-1",
"num": 1
}
],
"in_available_bin": [
{
"whb_code": "T-2",
"num": 1
}
]
}
]
},
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "327BA547-EFD3-B788-678A-1776BCDDBDFF",
"response_time": "2023-01-10 16:22:24",
"data": {
"order_sn": "AD230110022"
},
"total": 0
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | wid | 系统仓库id | integer | — | Required | 系统仓库id |
| 2 | remark | 单据备注 | string | — | Optional | 单据备注 |
| 3 | bin_type | 出库仓位方式 | integer | — | Optional | 出库仓位方式:【默认1】 1 系统自定选择 2 指定出库仓位 |
| 4 | product_list | 调整的产品明细数据 | array<object> | — | Required | 调整的产品明细数据 |
| 4.1 | product_id | 产品id | integer | — | Required | 产品id |
| 4.2 | seller_id | 原店铺id | string | — | Optional | 原店铺id,默认为0 ,对应查询亚马逊店铺列表接口对应字段【seller_id】 |
| 4.3 | fnsku | 原FNSKU | string | — | Optional | 原FNSKU,默认为空 |
| 4.4 | to_seller_id | 新店铺id | integer | — | Optional | 新店铺id,默认为0 |
| 4.5 | to_fnsku | 新FNSKU | string | — | Optional | 新FNSKU,默认空 |
| 4.6 | adjustment_valid_num | 调整量 | integer | — | Required | 调整量 |
| 4.7 | product_remark | 产品备注 | string | — | Optional | 产品备注 |
| 4.8 | out_available_bin | 出库仓位列表 | array<object> | — | Optional | 出库仓位列表,默认可用暂存【仅当bin_type = 2 生效】 |
| 4.8.1 | whb_code | 出库仓位 | string | — | Optional | 出库仓位 |
| 4.8.2 | num | 出库数量 | integer | — | Optional | 出库数量,默认按ERP页面逻辑出库 【out_available_bin>>num 之和 等于 adjustment_valid_num】 |
| 4.9 | in_available_bin | 入库仓位列表 | array<object> | — | Optional | 入库仓位列表,默认可用暂存 |
| 4.9.1 | whb_code | 入库仓位 | string | — | Optional | 入库仓位 |
| 4.9.2 | num | 入库数量 | integer | — | Optional | 入库数量,当填写入库仓位时,该字段必填 【in_available_bin>>num 之和 等于 adjustment_valid_num】 |
| 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 | 327BA547-EFD3-B788-678A-1776BCDDBDFF | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2023-01-10 16:22:24 | Required | 响应时间 |
| 6 | data | 响应数据 | object | — | Required | 响应数据 |
| 6.1 | order_sn | 生成的调整单的单据号 | string | AD230110022 | Required | 生成的调整单的单据号 |
The 创建已完成的换标调整单 API (/erp/sc/routing/inventoryReceipt/StorageAdjustment/addRebrandAdjustmentOrder) 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.