/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"
}
]
}
]
}
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | store_id | 店铺id | array<any> | — | Optional | 店铺id |
| 2 | cargo_status_list | 货件平台状态 | array<any> | — | Optional | 货件平台状态: 0 PENDING_SHIPMENT_DETAILS 1 AWAITING_DELIVERY 2 RECEIVING_IN_PROGRESS 3 CLOSED 4 CANCELLED |
| 3 | inbound_order_id | 入库订单编号 | string | — | Optional | 入库订单编号 |
| 4 | start_time | 开始时间【创建时间】 | string | — | Optional | 开始时间【创建时间】,格式:Y-m-d,双闭区间 |
| 5 | end_time | 结束时间【创建时间】 | string | — | Optional | 结束时间【创建时间】,格式:Y-m-d,双闭区间 |
| 6 | offset | 分页偏移量 | integer | — | Optional | 分页偏移量,默认0 |
| 7 | length | 分页长度 | integer | — | Optional | 分页长度,默认15,上限200 |
| 8 | update_time_ge | 货件更新开始时间 | string | — | Optional | 货件更新开始时间,格式:yyyy-MM-dd HH:mm:SS |
| 9 | update_time_le | 货件更新结束时间 | string | — | Optional | 货件更新结束时间,格式:yyyy-MM-dd HH:mm:SS |
| 10 | cargo_update_time_ge | 货件平台更新时间开始 格式 | string | — | Optional | 货件平台更新时间开始 格式:yyyy-MM-dd HH:mm:ss |
| 11 | cargo_update_time_le | 货件平台更新时间结束 格式 | string | — | Optional | 货件平台更新时间结束 格式:yyyy-MM-dd HH:mm:ss |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | Required | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | Required | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | Required | 错误信息 |
| 4 | request_id | 请求链路id | string | f4044649b1be46398c7eb4e6eb6ab6d5.1684735739946 | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2023-05-06 23:59:59 | Required | 响应时间 |
| 6 | data | 响应数据 | object | — | Required | 响应数据 |
| 6.1 | total | 总数 | string | 15 | Required | 总数 |
| 6.2 | records | 列表数据 | array<object> | — | Required | 列表数据 |
| 6.2.1 | id | WFS货件id | string | 200498 | Required | WFS货件id |
| 6.2.2 | cargo_code | 货件单号 | string | lry-shipment-31 | Required | 货件单号 |
| 6.2.3 | cargo_create_date | 货件创建时间 | string | 2023-05-06 23:59:59 | Required | 货件创建时间 |
| 6.2.4 | cargo_good_list | 商品信息 | array<object> | — | Required | 商品信息 |
| 6.2.4.1 | declare_num | 货件初始申报量 | string | 10 | Required | 货件初始申报量 |
| 6.2.4.2 | gtin | GTIN码 | string | gtin | Required | GTIN码 |
| 6.2.4.3 | msku | msku | string | mskuxxx | Required | msku |
| 6.2.4.4 | product_name | 品名 | string | ueeshop222bt | Required | 品名 |
| 6.2.4.5 | received_num | 签收数量 | string | 10 | Required | 签收数量 |
| 6.2.4.6 | shipments_num | 已发货数量 | string | 10 | Required | 已发货数量 |
| 6.2.4.7 | sku | sku | string | sku | Required | sku |
| 6.2.4.8 | dameged_qty | 损坏数量 | string | — | Required | 损坏数量 |
| 6.2.5 | cargo_status | 平台货件状态 | string | PENDING_SHIPMENT_DETAILS | Required | 平台货件状态 |
| 6.2.6 | cargo_sync_status | 货件本地状态 | string | 已申报 | Required | 货件本地状态 |
| 6.2.7 | country_name | 国家 | string | 美国 | Required | 国家 |
| 6.2.8 | creator | 创建者 | string | 王xxx | Required | 创建者 |
| 6.2.9 | distribution_addresses | 配送地址(街道 | string | xxxxxxx | Required | 配送地址(街道,城市,省/区,国家,国家编码,邮编)拼接 |
| 6.2.10 | in_bound_order_id | 入库订单编号 | string | lry-inbound-31 | Required | 入库订单编号 |
| 6.2.11 | logistics_code | 物流编号 | string | LRY03 | Required | 物流编号 |
| 6.2.12 | return_addresses | 退货地址(街道 | string | xxxxxxx | Required | 退货地址(街道,城市,省/区,国家,国家编码)拼接) |
| 6.2.13 | store_id | 店铺id | string | 110000000020008001 | Required | 店铺id |
| 6.2.14 | store_name | 店铺名称 | string | 测试店铺 | Required | 店铺名称 |
| 6.2.15 | shipping_list_codes | 发货单号 | array<any> | ["SP202307250010002","SP202307250010001"] | Required | 发货单号 |
| 6.2.16 | update_date | 更新时间 | string | 2023-05-06 23:59:59 | Required | 更新时间 |
| 6.2.17 | status | 货件状态 | integer | — | Required | 货件状态: 0 PENDING_SHIPMENT_DETAILS (等待发货详情) , 表示系统正在等待发货的详细信息 1 AWAITING_DELIVERY (等待送达) ,表示货物已发出,正在等待送达 2 RECEIVING_IN_PROGRESS (接收中) , 表示货物正在被接收处理中 3 CLOSED (已关闭) , 表示物流过程已完成并关闭 4 CANCELLED (已取消) , 表示物流过程已被取消 |
| 6.2.18 | status_name | 货件状态说明 | string | — | Required | 货件状态说明 |
| 6.2.19 | to_pending_time | to_pending_time | string | — | Required | 更新为Pending Shipment Details状态的时间戳 |
| 6.2.20 | to_await_time | to_await_time | string | — | Required | 更新为Awaiting Delivery状态的时间戳 |
| 6.2.21 | to_receive_time | to_receive_time | string | — | Required | 更新Receiving in Progress状态的时间戳 |
| 6.2.22 | to_closed_time | 更新为CLOSED状态的时间戳 | string | — | Required | 更新为CLOSED状态的时间戳 |
| 6.2.23 | to_cancelled_time | 更新为Cancelled状态的时间戳 | string | — | Required | 更新为Cancelled状态的时间戳 |
The 查询WFS货件列表 API (/cepf/warehouse/api/openApi/queryWFSCargoPage) 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.