/pb/mp/order/v2/fastOutbound{
"operation": {
"method": "POST",
"path": "/pb/mp/order/v2/fastOutbound"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 10,
"text": ""
},
"requestExample": {
"package": [
{
"global_order_no": "103256450214985728",
"wid": 123,
"logistics_type_id": "123",
"waybill_no": "123",
"tracking_no": "123",
"weight_unit": "g",
"real_weight": "123",
"size_unit": "cm",
"length": "123",
"width": "123",
"height": "123",
"fee_weight": "123",
"logistics_freight": "123",
"logistics_freight_currency_code": "CNY"
}
]
},
"responseExample": {
"code": 0,
"message": "操作成功",
"data": true,
"request_id": "609a88ea800d419d9771389b5e751bf0.158.16704888930330001",
"response_time": "2023-03-07 15:19:49",
"success": true
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | package | 出库包裹信息 | array<object> | — | 必填 | 出库包裹信息,最多1000个订单 |
| 1.1 | global_order_no | 系统单号 | string | — | 必填 | 系统单号 |
| 1.2 | wid | 出库仓库ID | number | — | 必填 | 出库仓库ID,可通过查询本地仓库接口获得 |
| 1.3 | logistics_type_id | 物流商ID-物流方式ID | string | — | 必填 | 物流商ID-物流方式ID, 物流商ID对应 查询已启用的自发货物流方式 接口字段【logistics_provider_id】 物流方式ID对应 查询已启用的自发货物流方式 接口字段【type_id】 |
| 1.4 | waybill_no | 运单号 | string | — | 必填 | 运单号 |
| 1.5 | tracking_no | 跟踪号 | string | — | 可选 | 跟踪号 |
| 1.6 | weight_unit | 重量单位 | string | — | 可选 | 重量单位,可选g、kg,默认g |
| 1.7 | real_weight | 包裹重量 | string | — | 可选 | 包裹重量 |
| 1.8 | size_unit | 尺寸单位 | string | — | 可选 | 尺寸单位,可选mm、cm,默认cm |
| 1.9 | length | 包裹尺寸长 | string | — | 可选 | 包裹尺寸长 |
| 1.10 | width | 包裹尺寸宽 | string | — | 可选 | 包裹尺寸宽 |
| 1.11 | height | 包裹尺寸高 | string | — | 可选 | 包裹尺寸高 |
| 1.12 | fee_weight | 包裹计费重 | string | — | 可选 | 包裹计费重 |
| 1.13 | logistics_freight | 物流运费 | string | — | 可选 | 物流运费 |
| 1.14 | logistics_freight_currency_code | 物流运费币种代码 | string | — | 可选 | 物流运费币种代码,默认 CNY |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 消息提示 | string | — | 必填 | 消息提示 |
| 3 | data | 响应数据 | boolean | true | 必填 | 响应数据 |
| 4 | request_id | 请求链路id | string | ad9c1a8625c74f3ea0525e216374e31a1676514819613 | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2023-02-16 10:33:40 | 必填 | 响应时间 |
| 6 | success | 是否成功 | string | true | 必填 | 是否成功 |
领星ERP的接口:快速出库(/pb/mp/order/v2/fastOutbound),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。