/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": ""
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | overseas_order_no | 备货单号 | string | — | Required | 备货单号 |
| 2 | packaging_type | 装箱类型 | integer | — | Required | 装箱类型:1 每箱多个sku,2 每箱一个sku |
| 3 | box_count | 总箱数 | integer | — | Required | 总箱数 |
| 4 | box_list | 装箱数据 | array<object> | — | Required | 装箱数据 |
| 4.1 | box_no | 箱号 | integer | — | Required | 箱号 |
| 4.2 | box_count | 箱数 | integer | — | Optional | 箱数,默认1 |
| 4.3 | box_nos | 自定义箱号数组 | array<any> | — | Optional | 自定义箱号数组,箱数大于1时必传 |
| 4.4 | height | 箱规-高(cm) | number | — | Required | 箱规-高(cm) |
| 4.5 | length | 箱规-长(cm) | number | — | Required | 箱规-长(cm) |
| 4.6 | width | 箱规-宽(cm) | number | — | Required | 箱规-宽(cm) |
| 4.7 | weight | 箱子毛重(KG) | number | — | Required | 箱子毛重(KG) |
| 4.8 | items | 商品详情 | array<object> | — | Required | 商品详情 |
| 4.8.1 | product_id | 商品id | integer | — | Required | 商品id |
| 4.8.2 | twp_id | 三方商品id | integer | — | Optional | 三方商品id,查询系统产品与第三方海外仓产品映射列表接口对应字段【twp_id】, 注:收货仓库是第三方仓时必填 |
| 4.8.3 | quantity_shipped | 装箱数 | integer | — | Required | 装箱数:计算公式=备货数量/箱数 |
| 4.8.4 | oversea_product_code | 三方商品编码(收货仓库为三方海外仓 | integer | — | Optional | 三方商品编码(收货仓库为三方海外仓,可不传product_id) |
| 4.8.5 | match_num | 配对数量【默认1】 | integer | — | Required | 配对数量【默认1】:传 1 为单个配对,其他值均为整箱配对 |
| 4.8.6 | fnsku | fnsku | string | — | Optional | fnsku |
| 4.8.7 | barcode | 万邑通SN码 | string | — | Optional | 万邑通SN码 |
| 4.8.8 | is_a_plus | 万邑通是否A+包裹 | integer | — | Optional | 万邑通是否A+包裹:0-否,1-是 |
| 4.8.9 | sid | 店铺id | integer | — | Required | 店铺id,库存中心过渡版本后有fnsku必填 ,对应查询亚马逊店铺列表接口对应字段【sid】 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | — | Required | 状态码,0 成功 |
| 2 | message | 消息 | string | — | Required | 消息 |
| 3 | error_details | 错误信息 | array<any> | — | Required | 错误信息 |
| 4 | request_id | 请求链路id | string | — | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | — | Required | 响应时间 |
| 6 | data | 响应数据 | object | — | Required | 响应数据 |
The 上传备货单装箱信息 API (/erp/sc/routing/owms/inbound/packing) 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.