/erp/sc/routing/owms/inbound/packing{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/owms/inbound/packing"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | overseas_order_no | 备货单号 | string | — | 必填 | 备货单号 |
| 2 | packaging_type | 装箱类型 | integer | — | 必填 | 装箱类型:1 每箱多个sku,2 每箱一个sku |
| 3 | box_count | 总箱数 | integer | — | 必填 | 总箱数 |
| 4 | box_list | 装箱数据 | array<object> | — | 必填 | 装箱数据 |
| 4.1 | box_no | 箱号 | integer | — | 必填 | 箱号 |
| 4.2 | box_count | 箱数 | integer | — | 可选 | 箱数,默认1 |
| 4.3 | box_nos | 自定义箱号数组 | array<any> | — | 可选 | 自定义箱号数组,箱数大于1时必传 |
| 4.4 | height | 箱规-高(cm) | number | — | 必填 | 箱规-高(cm) |
| 4.5 | length | 箱规-长(cm) | number | — | 必填 | 箱规-长(cm) |
| 4.6 | width | 箱规-宽(cm) | number | — | 必填 | 箱规-宽(cm) |
| 4.7 | weight | 箱子毛重(KG) | number | — | 必填 | 箱子毛重(KG) |
| 4.8 | items | 商品详情 | array<object> | — | 必填 | 商品详情 |
| 4.8.1 | product_id | 商品id | integer | — | 必填 | 商品id |
| 4.8.2 | twp_id | 三方商品id | integer | — | 可选 | 三方商品id,查询系统产品与第三方海外仓产品映射列表接口对应字段【twp_id】, 注:收货仓库是第三方仓时必填 |
| 4.8.3 | quantity_shipped | 装箱数 | integer | — | 必填 | 装箱数:计算公式=备货数量/箱数 |
| 4.8.4 | oversea_product_code | 三方商品编码(收货仓库为三方海外仓 | integer | — | 可选 | 三方商品编码(收货仓库为三方海外仓,可不传product_id) |
| 4.8.5 | match_num | 配对数量【默认1】 | integer | — | 必填 | 配对数量【默认1】:传 1 为单个配对,其他值均为整箱配对 |
| 4.8.6 | fnsku | fnsku | string | — | 可选 | fnsku |
| 4.8.7 | barcode | 万邑通SN码 | string | — | 可选 | 万邑通SN码 |
| 4.8.8 | is_a_plus | 万邑通是否A+包裹 | integer | — | 可选 | 万邑通是否A+包裹:0-否,1-是 |
| 4.8.9 | sid | 店铺id | integer | — | 必填 | 店铺id,库存中心过渡版本后有fnsku必填 ,对应查询亚马逊店铺列表接口对应字段【sid】 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | — | 必填 | 状态码,0 成功 |
| 2 | message | 消息 | string | — | 必填 | 消息 |
| 3 | error_details | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | request_id | 请求链路id | string | — | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | — | 必填 | 响应时间 |
| 6 | data | 响应数据 | object | — | 必填 | 响应数据 |
领星ERP的接口:上传备货单装箱信息(/erp/sc/routing/owms/inbound/packing),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。