/cepf/warehouse/api/openApi/queryWFSCargoPage{
"operation": {
"method": "POST",
"path": "/cepf/warehouse/api/openApi/queryWFSCargoPage"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 10,
"text": ""
},
"requestExample": {
"store_id": [
"110418202566107648",
"11098710969430528"
],
"cargo_status_list": [
1,
2,
3,
4
],
"inbound_order_id": "lkxxxxxx555",
"start_time": "2023-07-15",
"end_time": "2023-07-16",
"offset": 0,
"length": 15
},
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "c4db3691436d4acbbda0f8b1dc53fe97.1689845618385",
"response_time": "2023-07-20 17:33:39",
"data": {
"total": "1",
"records": [
{
"id": "200498",
"in_bound_order_id": "test0508001-inbound-1",
"store_id": "110000000018008001",
"store_name": "测试店铺",
"country_name": "美国",
"creator": "",
"shipping_list_codes": [
"SP202307270010196"
],
"logistics_code": "LRY03",
"cargo_create_date": "2023-03-08 03:02:30",
"cargo_code": "test0508001-shipment-1",
"update_date": "2023-05-08 11:20:52",
"cargo_status": "PENDING_SHIPMENT_DETAILS",
"cargo_sync_status": "已申报",
"distribution_addresses": "3 Sorbello Way,Pedricktown1,NJ9,美国,US,08067",
"return_addresses": "860 W California Ave,Sunnyvale,94086,加拿大,CA",
"cargo_good_list": [
{
"msku": "test1_sku1CIlPbdpXO1",
"sku": "ueeshop1111",
"product_name": "ueeshop1111",
"gtin": "006344827368521",
"shipments_num": "0",
"received_num": "0",
"declare_num": "10",
"dameged_qty": "0"
}
]
}
]
}
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | store_id | 店铺id | array<any> | — | 可选 | 店铺id |
| 2 | cargo_status_list | 货件平台状态 | array<any> | — | 可选 | 货件平台状态: 0 PENDING_SHIPMENT_DETAILS 1 AWAITING_DELIVERY 2 RECEIVING_IN_PROGRESS 3 CLOSED 4 CANCELLED |
| 3 | inbound_order_id | 入库订单编号 | string | — | 可选 | 入库订单编号 |
| 4 | start_time | 开始时间【创建时间】 | string | — | 可选 | 开始时间【创建时间】,格式:Y-m-d,双闭区间 |
| 5 | end_time | 结束时间【创建时间】 | string | — | 可选 | 结束时间【创建时间】,格式:Y-m-d,双闭区间 |
| 6 | offset | 分页偏移量 | integer | — | 可选 | 分页偏移量,默认0 |
| 7 | length | 分页长度 | integer | — | 可选 | 分页长度,默认15,上限200 |
| 8 | update_time_ge | 货件更新开始时间 | string | — | 可选 | 货件更新开始时间,格式:yyyy-MM-dd HH:mm:SS |
| 9 | update_time_le | 货件更新结束时间 | string | — | 可选 | 货件更新结束时间,格式:yyyy-MM-dd HH:mm:SS |
| 10 | cargo_update_time_ge | 货件平台更新时间开始 格式 | string | — | 可选 | 货件平台更新时间开始 格式:yyyy-MM-dd HH:mm:ss |
| 11 | cargo_update_time_le | 货件平台更新时间结束 格式 | string | — | 可选 | 货件平台更新时间结束 格式:yyyy-MM-dd HH:mm:ss |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | 必填 | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | request_id | 请求链路id | string | f4044649b1be46398c7eb4e6eb6ab6d5.1684735739946 | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2023-05-06 23:59:59 | 必填 | 响应时间 |
| 6 | data | 响应数据 | object | — | 必填 | 响应数据 |
| 6.1 | total | 总数 | string | 15 | 必填 | 总数 |
| 6.2 | records | 列表数据 | array<object> | — | 必填 | 列表数据 |
| 6.2.1 | id | WFS货件id | string | 200498 | 必填 | WFS货件id |
| 6.2.2 | cargo_code | 货件单号 | string | lry-shipment-31 | 必填 | 货件单号 |
| 6.2.3 | cargo_create_date | 货件创建时间 | string | 2023-05-06 23:59:59 | 必填 | 货件创建时间 |
| 6.2.4 | cargo_good_list | 商品信息 | array<object> | — | 必填 | 商品信息 |
| 6.2.4.1 | declare_num | 货件初始申报量 | string | 10 | 必填 | 货件初始申报量 |
| 6.2.4.2 | gtin | GTIN码 | string | gtin | 必填 | GTIN码 |
| 6.2.4.3 | msku | msku | string | mskuxxx | 必填 | msku |
| 6.2.4.4 | product_name | 品名 | string | ueeshop222bt | 必填 | 品名 |
| 6.2.4.5 | received_num | 签收数量 | string | 10 | 必填 | 签收数量 |
| 6.2.4.6 | shipments_num | 已发货数量 | string | 10 | 必填 | 已发货数量 |
| 6.2.4.7 | sku | sku | string | sku | 必填 | sku |
| 6.2.4.8 | dameged_qty | 损坏数量 | string | — | 必填 | 损坏数量 |
| 6.2.5 | cargo_status | 平台货件状态 | string | PENDING_SHIPMENT_DETAILS | 必填 | 平台货件状态 |
| 6.2.6 | cargo_sync_status | 货件本地状态 | string | 已申报 | 必填 | 货件本地状态 |
| 6.2.7 | country_name | 国家 | string | 美国 | 必填 | 国家 |
| 6.2.8 | creator | 创建者 | string | 王xxx | 必填 | 创建者 |
| 6.2.9 | distribution_addresses | 配送地址(街道 | string | xxxxxxx | 必填 | 配送地址(街道,城市,省/区,国家,国家编码,邮编)拼接 |
| 6.2.10 | in_bound_order_id | 入库订单编号 | string | lry-inbound-31 | 必填 | 入库订单编号 |
| 6.2.11 | logistics_code | 物流编号 | string | LRY03 | 必填 | 物流编号 |
| 6.2.12 | return_addresses | 退货地址(街道 | string | xxxxxxx | 必填 | 退货地址(街道,城市,省/区,国家,国家编码)拼接) |
| 6.2.13 | store_id | 店铺id | string | 110000000020008001 | 必填 | 店铺id |
| 6.2.14 | store_name | 店铺名称 | string | 测试店铺 | 必填 | 店铺名称 |
| 6.2.15 | shipping_list_codes | 发货单号 | array<any> | ["SP202307250010002","SP202307250010001"] | 必填 | 发货单号 |
| 6.2.16 | update_date | 更新时间 | string | 2023-05-06 23:59:59 | 必填 | 更新时间 |
| 6.2.17 | status | 货件状态 | integer | — | 必填 | 货件状态: 0 PENDING_SHIPMENT_DETAILS (等待发货详情) , 表示系统正在等待发货的详细信息 1 AWAITING_DELIVERY (等待送达) ,表示货物已发出,正在等待送达 2 RECEIVING_IN_PROGRESS (接收中) , 表示货物正在被接收处理中 3 CLOSED (已关闭) , 表示物流过程已完成并关闭 4 CANCELLED (已取消) , 表示物流过程已被取消 |
| 6.2.18 | status_name | 货件状态说明 | string | — | 必填 | 货件状态说明 |
| 6.2.19 | to_pending_time | to_pending_time | string | — | 必填 | 更新为Pending Shipment Details状态的时间戳 |
| 6.2.20 | to_await_time | to_await_time | string | — | 必填 | 更新为Awaiting Delivery状态的时间戳 |
| 6.2.21 | to_receive_time | to_receive_time | string | — | 必填 | 更新Receiving in Progress状态的时间戳 |
| 6.2.22 | to_closed_time | 更新为CLOSED状态的时间戳 | string | — | 必填 | 更新为CLOSED状态的时间戳 |
| 6.2.23 | to_cancelled_time | 更新为Cancelled状态的时间戳 | string | — | 必填 | 更新为Cancelled状态的时间戳 |
领星ERP的接口:查询WFS货件列表(/cepf/warehouse/api/openApi/queryWFSCargoPage),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。