/basicOpen/multiplatform/cargo/storage{
"operation": {
"method": "POST",
"path": "/basicOpen/multiplatform/cargo/storage"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"store_id": "110000000020008001",
"cargo_goods_list": [
{
"box_num": "1",
"declare_num": "1",
"expected_arrival_time": "2023-09-15 00:00:00",
"msku": "WMUS-DLO-HairRoller-Blue-DLO00030",
"picture_url": "https://i5.walmartimages.com/asr/22121042-a896-4b06-a312-23570f0a6162.20427cf1d30b27865e119f2b8599cc9b.jpeg",
"product_desc": "1",
"product_id": "09123107025675",
"gtin": "09123107025675",
"product_name": "test1109pm",
"product_type": "GTIN",
"value_added_service": 0,
"single_box_num": "1",
"sku": "test1109sku"
}
],
"cargo_remark": "",
"inbound_order_id": "",
"return_address": {
"address_alias": "123",
"address_id": "39",
"city": "1",
"mobile": "",
"postal_code": "1",
"province": "1",
"receive_or_delivery_country": "AD",
"receive_or_delivery_country_name": "安道尔",
"street_detail": "1,"
}
},
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "ace6b6587de441df83115493251e4068.1694771809931",
"response_time": "2023-09-15 17:56:51",
"data": {
"inbound_order_id": "202309150022"
},
"total": 0
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | store_id | 店铺id | string | — | Required | 店铺id |
| 2 | cargo_goods_list | 货件包含的商品 | array<object> | — | Required | 货件包含的商品 |
| 2.1 | box_num | 箱子数量 | string | — | Required | 箱子数量 |
| 2.2 | single_box_num | 单箱商品数量 | string | — | Required | 单箱商品数量 |
| 2.3 | declare_num | 货件初始申报量 | string | — | Required | 货件初始申报量 |
| 2.4 | expected_arrival_time | 预估到货时间 | string | — | Required | 预估到货时间 |
| 2.5 | msku | msku | string | — | Required | MSKU,查询添加商品列表接口对应的字段【msku】 |
| 2.6 | picture_url | 图片地址 | string | — | Required | 图片地址,查询添加商品列表接口对应的字段【picture_url】 |
| 2.7 | product_desc | 商品描述 | string | — | Required | 商品描述 |
| 2.8 | product_id | 商品id | string | — | Required | 商品id,查询添加商品列表接口对应的字段【item_id】 |
| 2.9 | product_name | 商品名字 | string | — | Required | 商品名字,查询添加商品列表接口对应的字段【local_name】 |
| 2.10 | sku | sku | string | — | Required | SKU,查询添加商品列表接口对应的字段【local_sku】 |
| 2.11 | product_type | 商品类型 | string | — | Required | 商品类型: GTIN GTIN UPC UPC EAN EAN |
| 2.12 | gtin | gtin | string | — | Required | GTIN,查询添加商品列表接口对应的字段【gtin】 |
| 2.13 | value_added_service | 增值服务类型 | string | — | Required | 增值服务类型: 1 需要 0 不需要 |
| 3 | cargo_remark | 货件备注 | string | — | Optional | 货件备注 |
| 4 | inbound_order_id | 入库订单id | string | — | Optional | 入库订单id |
| 5 | return_address | 退件地址 | object | — | Required | 退件地址,查询退件地址列表 接口获取 |
| 5.1 | address_alias | 地址别名 | string | — | Required | 地址别名 |
| 5.2 | address_id | 地址id | string | — | Required | 地址id |
| 5.3 | city | 城市 | string | — | Required | 城市 |
| 5.4 | mobile | 电话 | string | — | Required | 电话 |
| 5.5 | postal_code | 邮政编码 | string | — | Required | 邮政编码 |
| 5.6 | province | 州/省/地区 | string | — | Required | 州/省/地区 |
| 5.7 | receive_or_delivery_country | 发货方/收货方所属国家(或地区)编码 | string | — | Required | 发货方/收货方所属国家(或地区)编码 |
| 5.8 | receive_or_delivery_country_name | 发货方/收货方所属国家(或地区)名称 | string | — | Required | 发货方/收货方所属国家(或地区)名称 |
| 5.9 | street_detail | 街道详细地址 | string | — | Required | 街道详细地址 |
| 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 | 77ac259a67d5462594c83b80669b6eae.1692331008758 | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2023-08-18 11:56:49 | Required | 响应时间 |
| 6 | total | 总数 | integer | 200 | Required | 总数 |
| 7 | data | 响应数据 | object | — | Required | 响应数据 |
| 7.1 | inbound_order_id | 入库订单编号 | string | 202309150022 | Required | 入库订单编号 |
The WFS货件暂存 API (/basicOpen/multiplatform/cargo/storage) 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.