/erp/sc/routing/storage/shipment/createShipmentPlan{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/storage/shipment/createShipmentPlan"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"remark": "备注",
"product_list": [
{
"sid": 104,
"packing_type": 1,
"shipment_time": "2022-12-14",
"msku": "XGJ0008",
"fnsku": "B08D3N9BK3",
"shipment_plan_quantity": 2,
"quantity_in_case": 1,
"box_num": 1,
"logistics_provider_id": 1,
"logistics_channel_id": 10000405,
"wid": 1,
"remark": "备注xx",
"purchase_plan_sn": "111"
}
]
},
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "D8344695-90C7-B7CF-86E2-25697AFFC527",
"response_time": "2022-12-08 16:27:10",
"data": {
"seq": "RP231220003",
"order_sn": [
"R231220003"
]
},
"total": 0
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | remark | 批次信息备注 | string | — | Optional | 批次信息备注 |
| 2 | product_list | 商品信息 | array<object> | — | Required | 商品信息 |
| 2.1 | sid | 店铺id | integer | — | Required | 店铺id ,对应查询亚马逊店铺列表接口对应字段【sid】 |
| 2.2 | packing_type | 包装类型 | integer | — | Required | 包装类型: 1 混装,2 原厂 |
| 2.3 | shipment_time | 发货时间 | string | — | Optional | 发货时间,格式:Y-m-d |
| 2.4 | msku | msku | string | — | Required | MSKU |
| 2.5 | fnsku | fnsku | string | — | Required | FNSKU |
| 2.6 | shipment_plan_quantity | 计划发货量 | integer | — | Required | 计划发货量 |
| 2.7 | quantity_in_case | 单箱数量【PCS】 | integer | — | Optional | 单箱数量【PCS】 |
| 2.8 | box_num | 箱数 | integer | — | Optional | 箱数 |
| 2.9 | method_id | 运输方式id | integer | — | Optional | 运输方式id,查询头程物流渠道列表 接口对应字段【data>>method_id】 |
| 2.10 | logistics_provider_id | 物流商id | integer | — | Optional | 物流商id,查询头程物流渠道列表 接口对应字段【data>>provider>>id】 |
| 2.11 | logistics_channel_id | 物流渠道id | integer | — | Optional | 物流渠道id,查询头程物流渠道列表 接口对应字段【data>>id】 |
| 2.12 | wid | 系统仓库id | integer | — | Optional | 系统仓库id |
| 2.13 | remark | 商品信息备注 | string | — | Optional | 商品信息备注 |
| 2.14 | purchase_plan_sn | 关联采购计划单号 | 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 | D8344695-90C7-B7CF-86E2-25697AFFC527 | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2022-12-08 16:27:10 | Required | 响应时间 |
| 6 | total | 总数 | integer | 0 | Required | 总数 |
| 7 | data | 响应数据 | object | — | Required | 响应数据 |
| 7.1 | seq | 批次号 | string | RP231220003 | Required | 批次号 |
| 7.2 | order_sn | 计划编号 | array<any> | ["R231220003"] | Required | 计划编号 |
The 创建FBA发货计划 API (/erp/sc/routing/storage/shipment/createShipmentPlan) 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.