/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
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | remark | 批次信息备注 | string | — | 可选 | 批次信息备注 |
| 2 | product_list | 商品信息 | array<object> | — | 必填 | 商品信息 |
| 2.1 | sid | 店铺id | integer | — | 必填 | 店铺id ,对应查询亚马逊店铺列表接口对应字段【sid】 |
| 2.2 | packing_type | 包装类型 | integer | — | 必填 | 包装类型: 1 混装,2 原厂 |
| 2.3 | shipment_time | 发货时间 | string | — | 可选 | 发货时间,格式:Y-m-d |
| 2.4 | msku | msku | string | — | 必填 | MSKU |
| 2.5 | fnsku | fnsku | string | — | 必填 | FNSKU |
| 2.6 | shipment_plan_quantity | 计划发货量 | integer | — | 必填 | 计划发货量 |
| 2.7 | quantity_in_case | 单箱数量【PCS】 | integer | — | 可选 | 单箱数量【PCS】 |
| 2.8 | box_num | 箱数 | integer | — | 可选 | 箱数 |
| 2.9 | method_id | 运输方式id | integer | — | 可选 | 运输方式id,查询头程物流渠道列表 接口对应字段【data>>method_id】 |
| 2.10 | logistics_provider_id | 物流商id | integer | — | 可选 | 物流商id,查询头程物流渠道列表 接口对应字段【data>>provider>>id】 |
| 2.11 | logistics_channel_id | 物流渠道id | integer | — | 可选 | 物流渠道id,查询头程物流渠道列表 接口对应字段【data>>id】 |
| 2.12 | wid | 系统仓库id | integer | — | 可选 | 系统仓库id |
| 2.13 | remark | 商品信息备注 | string | — | 可选 | 商品信息备注 |
| 2.14 | purchase_plan_sn | 关联采购计划单号 | string | — | 可选 | 关联采购计划单号 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | 必填 | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | request_id | 请求链路id | string | D8344695-90C7-B7CF-86E2-25697AFFC527 | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2022-12-08 16:27:10 | 必填 | 响应时间 |
| 6 | total | 总数 | integer | 0 | 必填 | 总数 |
| 7 | data | 响应数据 | object | — | 必填 | 响应数据 |
| 7.1 | seq | 批次号 | string | RP231220003 | 必填 | 批次号 |
| 7.2 | order_sn | 计划编号 | array<any> | ["R231220003"] | 必填 | 计划编号 |
领星ERP的接口:创建FBA发货计划(/erp/sc/routing/storage/shipment/createShipmentPlan),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。