/erp/sc/routing/inventoryReceipt/StorageAllocation/getStorageAllocationList{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/inventoryReceipt/StorageAllocation/getStorageAllocationList"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"wid": "432",
"to_wid": "581",
"search_date_type": 1,
"start_date": "2024-07-25",
"end_date": "2024-07-30",
"page": 1,
"page_size": 15
},
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "E9DE57E4-C265-7434-874B-C890A10BF515",
"response_time": "2022-12-14 17:54:53",
"data": [
{
"order_sn": "TF221214002",
"wid": 1,
"to_wid": 11,
"opt_uid": 129130,
"opt_time": "2022-12-14 17:49",
"order_amount": "0.000000",
"out_bin_type": 1,
"ware_house_bak_name": "仓库1",
"to_ware_house_bak_name": "仓库11",
"status": 5,
"create_time": "2022-12-14 15:36:02",
"create_uid": 129130,
"transfer_time": "",
"transfer_uid": 0,
"remark": "",
"freight_fee": "0.00",
"other_fee": "0.00",
"fee_part_type": 0,
"type": 2,
"receive_uid": 0,
"receive_time": "",
"finish_time": "",
"finish_uid": 0,
"increment_time": "2022-12-14 10:49:37",
"outbound_order_sn": null,
"inbound_order_sn": null,
"opt_realname": "欧树权",
"create_realname": "欧树权",
"transfer_realname": "",
"receive_realname": "",
"finish_realname": "",
"fee_part_type_text": "不分配",
"out_bin_type_text": "指定仓位",
"status_text": "待提交",
"item_list": [
{
"product_id": 2124879,
"sku": "rwb-chanpin2",
"fnsku": "",
"product_total": 3,
"product_good_num": 1,
"product_bad_num": 2,
"price": "0.000000",
"amount": "0.000000",
"seller_id": 0,
"cg_package_length": "0.00",
"cg_package_width": "0.00",
"cg_package_height": "0.00",
"cg_product_gross_weight": "0.00",
"freight_fee_unit": "0.0000",
"other_fee_unit": "0.0000",
"to_available_bin": "",
"to_inferior_bin": "",
"product_remark": "",
"seller_name": "",
"country_name": "",
"product_name": "rwb-chanpin2",
"out_available_bin_list": [
{
"whb_code": "ts_valid",
"whb_type": 2,
"whb_code_name": "可用暂存",
"whb_type_name": "可用暂存",
"product_num": 1,
"product_id": 2124879,
"sku": "rwb-chanpin2",
"seller_id": 0,
"fnsku": ""
}
],
"out_inferior_bin_list": [
{
"whb_code": "RB-001",
"whb_type": 6,
"whb_code_name": "RB-001",
"whb_type_name": "次品",
"product_num": 2,
"product_id": 2124879,
"sku": "rwb-chanpin2",
"seller_id": 0,
"fnsku": ""
}
],
"in_available_bin_list": [
{
"whb_code": "ts_valid",
"whb_type": 2,
"whb_code_name": "可用暂存",
"whb_type_name": "可用暂存",
"product_num": 1,
"product_id": 2124879,
"sku": "rwb-chanpin2",
"seller_id": 0,
"fnsku": ""
}
],
"in_inferior_bin_list": [
{
"whb_code": "ts_bad",
"whb_type": 3,
"whb_code_name": "次品暂存",
"whb_type_name": "次品暂存",
"product_num": 2,
"product_id": 2124879,
"sku": "rwb-chanpin2",
"seller_id": 0,
"fnsku": ""
}
],
"in_available_storage_bin_code": "",
"in_inferior_storage_bin_code": "",
"outboundList": [
{
"whb_code": "ts_valid",
"whb_type": 2,
"whb_code_name": "可用暂存",
"whb_type_name": "可用暂存",
"product_num": 1,
"product_id": 2124879,
"sku": "rwb-chanpin2",
"seller_id": 0,
"fnsku": ""
},
{
"whb_code": "RB-001",
"whb_type": 6,
"whb_code_name": "RB-001",
"whb_type_name": "次品",
"product_num": 2,
"product_id": 2124879,
"sku": "rwb-chanpin2",
"seller_id": 0,
"fnsku": ""
}
],
"out_stock_cost": "0.0000",
"pic_url": "https://image.distributetop.com/erp-vue/90124993550340096/20221206/f1bb7ed736e249cc969ad70c8a5d148c.jpeg"
}
],
"goodTotalNum": 1,
"badTotalNum": 2
}
],
"total": 1
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | wid | 出库仓库id | string | — | Optional | 出库仓库id,多个以英文逗号分隔 |
| 2 | to_wid | 入库仓库id | string | — | Optional | 入库仓库id,多个以英文逗号分隔 |
| 3 | search_date_type | 时间类型 | integer | — | Optional | 时间类型:【不传或传空则默认为 1】 1 创建时间 2 调拨时间 3 完成时间 4 更新时间 |
| 4 | start_date | 开始日期 | string | — | Optional | 开始日期,格式:Y-m-d,只有和结束日期同时有值才会生效 |
| 5 | end_date | 结束日期 | string | — | Optional | 结束日期,格式:Y-m-d,只有和开始日期同时有值才会生效 |
| 6 | page | 当前页码 | integer | — | Optional | 当前页码,默认1 |
| 7 | page_size | 分页条数 | integer | — | Optional | 分页条数,默认15 |
| 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 | 86C7B3F5-C488-9BA4-EBD9-5E0525E51699 | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2022-06-25 11:24:44 | Required | 响应时间 |
| 6 | data | 响应数据 | array<object> | — | Required | 响应数据 |
| 6.1 | order_sn | 单据号 | string | TF220624002 | Required | 单据号 |
| 6.2 | wid | 出库仓库id | integer | 11 | Required | 出库仓库id |
| 6.3 | to_wid | 入库仓库id | integer | 1 | Required | 入库仓库id |
| 6.4 | opt_uid | 操作人(用户id) | integer | 175 | Required | 操作人(用户id) |
| 6.5 | opt_time | 操作时间 | string | 2022-06-24 18:05 | Required | 操作时间 |
| 6.6 | order_amount | 订单金额 | number | 0 | Required | 订单金额 |
| 6.7 | out_bin_type | 出仓类型 | integer | — | Required | 出仓类型: 0 不指定仓位 1 指定仓位 |
| 6.8 | ware_house_bak_name | 出库仓库名称 | string | 仓库11 | Required | 出库仓库名称 |
| 6.9 | to_ware_house_bak_name | 入库仓库名称 | string | 仓库1 | Required | 入库仓库名称 |
| 6.10 | status | 单据状态 | integer | 20 | Required | 单据状态: 5-待提交 10 待调拨 19 待收货 20 已完成 30 已删除 121 待审批 122 已驳回 |
| 6.11 | status_text | 单据状态文本 | string | 已完成 | Required | 单据状态文本 |
| 6.12 | create_time | 创建时间 | string | 2022-06-24 18:05:46 | Required | 创建时间 |
| 6.13 | create_uid | 创建人(用户id) | integer | 175 | Required | 创建人(用户id) |
| 6.14 | transfer_time | 操作调拨时间 | string | 2022-06-24 18:05:46 | Required | 操作调拨时间 |
| 6.15 | transfer_uid | 操作调拨人(用户id) | integer | 175 | Required | 操作调拨人(用户id) |
| 6.16 | remark | 单据备注 | string | — | Required | 单据备注 |
| 6.17 | freight_fee | 运费 | number | 0 | Required | 运费 |
| 6.18 | other_fee | 其他费用 | number | 0 | Required | 其他费用 |
| 6.19 | fee_part_type | 费用分摊方式 | integer | 1 | Required | 费用分摊方式: 0 不分摊 1 按金额分摊 2 按sku数量分摊 3 按重量 4 按体积 5 按自定义 |
| 6.20 | type | 调拨类型 | integer | 1 | Required | 调拨类型:1-简易调拨;2-完整调拨 |
| 6.21 | receive_uid | 确认收货操作人(用户id) | integer | — | Required | 确认收货操作人(用户id) |
| 6.22 | receive_time | 确认收货收货时间 | string | — | Required | 确认收货收货时间 |
| 6.23 | finish_time | 单据完成时间 | string | 2022-06-24 18:05:46 | Required | 单据完成时间 |
| 6.24 | finish_uid | 单据完成操作人(用户id) | integer | 175 | Required | 单据完成操作人(用户id) |
| 6.25 | increment_time | 单据更新时间 | string | "2025-02-11 10:49:37" | Required | 单据更新时间 |
| 6.26 | outbound_order_sn | 关联的出库单单号 | string | OB220624004 | Required | 关联的出库单单号 |
| 6.27 | inbound_order_sn | 关联的入库单单号 | string | IB220624016 | Required | 关联的入库单单号 |
| 6.28 | opt_realname | 操作人姓名 | string | JSTAPI | Required | 操作人姓名 |
| 6.29 | create_realname | 创建人姓名 | string | JSTAPI | Required | 创建人姓名 |
| 6.30 | transfer_realname | 确认调拨操作人姓名 | string | JSTAPI | Required | 确认调拨操作人姓名 |
| 6.31 | receive_realname | 确认收货操作人姓名 | string | — | Required | 确认收货操作人姓名 |
| 6.32 | finish_realname | 单据完成操作人姓名 | string | JSTAPI | Required | 单据完成操作人姓名 |
| 6.33 | fee_part_type_text | 费用分摊方式文本 | string | 不分配 | Required | 费用分摊方式文本 |
| 6.34 | out_bin_type_text | 出仓方式文本 | string | 不指定仓位 | Required | 出仓方式文本 |
| 6.35 | item_list | 产品明细列表 | array<object> | — | Required | 产品明细列表 |
| 6.35.1 | product_id | 产品id | integer | 2117165 | Required | 产品id |
| 6.35.2 | sku | sku | string | 2022052702 | Required | SKU |
| 6.35.3 | fnsku | fnsku | string | — | Required | FNSKU |
| 6.35.4 | product_total | 调拨总量 | integer | 1 | Required | 调拨总量 |
| 6.35.5 | product_good_num | 调拨可用量 | integer | 1 | Required | 调拨可用量 |
| 6.35.6 | product_bad_num | 调拨次品量 | integer | — | Required | 调拨次品量 |
| 6.35.7 | price | 单价 | number | 0 | Required | 单价 |
| 6.35.8 | amount | 货值 | number | 0 | Required | 货值 |
| 6.35.9 | seller_id | 店铺id | integer | — | Required | 店铺id |
| 6.35.10 | to_available_bin | 入库可用仓位编码 | string | ts_valid | Required | 入库可用仓位编码 |
| 6.35.11 | to_inferior_bin | 入库次品仓位编码 | string | ts_bad | Required | 入库次品仓位编码 |
| 6.35.12 | seller_name | 店铺名称 | string | — | Required | 店铺名称 |
| 6.35.13 | country_name | 店铺所属国家名称 | string | — | Required | 店铺所属国家名称 |
| 6.35.14 | product_name | 品名 | string | 2022052702 | Required | 品名 |
| 6.35.15 | in_available_storage_bin_code | 入库可用仓位名称 | string | 可用暂存 | Required | 入库可用仓位名称 |
| 6.35.16 | in_inferior_storage_bin_code | 入库次品仓位名称 | string | — | Required | 入库次品仓位名称 |
| 6.35.17 | outboundList | 出库仓位列表 | array<object> | — | Required | 出库仓位列表 |
| 6.35.17.1 | whb_code | 仓位编码 | string | ts_valid | Required | 仓位编码 |
| 6.35.17.2 | whb_code_name | 仓位名称 | string | 可用暂存 | Required | 仓位名称 |
| 6.35.17.3 | product_num | 出仓数量 | integer | 1 | Required | 出仓数量 |
| 6.35.17.4 | whb_type | 仓位类型 | integer | 2 | Required | 仓位类型 |
| 6.35.17.5 | whb_type_name | 仓位类型名称 | string | 可用暂存 | Required | 仓位类型名称 |
| 6.35.18 | out_stock_cost | 出库单位费用 | string | 0.0000 | Required | 出库单位费用 |
| 6.35.19 | pic_url | 产品图片链接 | string | — | Required | 产品图片链接 |
| 6.35.20 | cg_package_length | 包装规格-长(CM) | number | 0 | Required | 包装规格-长(CM) |
| 6.35.21 | cg_package_width | 包装规格-宽(CM) | number | 0 | Required | 包装规格-宽(CM) |
| 6.35.22 | cg_package_height | 包装规格-高(CM) | number | 0 | Required | 包装规格-高(CM) |
| 6.35.23 | cg_product_gross_weight | 单品净重 | number | 0 | Required | 单品净重 |
| 6.35.24 | freight_fee_unit | 单位运费 | number | 1 | Required | 单位运费 |
| 6.35.25 | other_fee_unit | 单位其他费用 | number | 1 | Required | 单位其他费用 |
| 6.35.26 | product_remark | 产品备注 | string | 产品备注 | Required | 产品备注 |
| 6.35.27 | out_available_bin_list | 出库可用仓位列表 | array<object> | — | Required | 出库可用仓位列表 |
| 6.35.27.1 | whb_code | 仓位编码 | string | ts_valid | Required | 仓位编码 |
| 6.35.27.2 | whb_type | 仓位类型 | integer | 2 | Required | 仓位类型 |
| 6.35.27.3 | whb_code_name | 仓位名称 | string | 可用暂存 | Required | 仓位名称 |
| 6.35.27.4 | whb_type_name | 仓位类型文本 | string | 可用暂存 | Required | 仓位类型文本 |
| 6.35.27.5 | product_num | 出库可用量 | integer | 1 | Required | 出库可用量 |
| 6.35.28 | out_inferior_bin_list | 出库次品仓位列表 | array<object> | — | Required | 出库次品仓位列表 |
| 6.35.28.1 | whb_code | 仓位编码 | string | RB-001 | Required | 仓位编码 |
| 6.35.28.2 | whb_type | 仓位类型 | integer | 6 | Required | 仓位类型 |
| 6.35.28.3 | whb_code_name | 仓位名称 | string | RB-001 | Required | 仓位名称 |
| 6.35.28.4 | whb_type_name | 仓位类型文本 | string | 次品 | Required | 仓位类型文本 |
| 6.35.28.5 | product_num | 出库次品量 | integer | 2 | Required | 出库次品量 |
| 6.35.29 | in_available_bin_list | 入库可用仓位列表 | array<object> | — | Required | 入库可用仓位列表 |
| 6.35.29.1 | whb_code | 仓位编码 | string | ts_valid | Required | 仓位编码 |
| 6.35.29.2 | whb_type | 仓位类型 | integer | 2 | Required | 仓位类型 |
| 6.35.29.3 | whb_code_name | 仓位名称 | string | 可用暂存 | Required | 仓位名称 |
| 6.35.29.4 | whb_type_name | 仓位类型文本 | string | 可用暂存 | Required | 仓位类型文本 |
| 6.35.29.5 | product_num | 入库可用量 | integer | 1 | Required | 入库可用量 |
| 6.35.30 | in_inferior_bin_list | 入库次品仓位列表 | array<object> | — | Required | 入库次品仓位列表 |
| 6.35.30.1 | whb_code | 仓位编码 | string | ts_bad | Required | 仓位编码 |
| 6.35.30.2 | whb_type | 仓位类型 | integer | 3 | Required | 仓位类型 |
| 6.35.30.3 | whb_code_name | 仓位名称 | string | 次品暂存 | Required | 仓位名称 |
| 6.35.30.4 | whb_type_name | 仓位类型文本 | string | 次品暂存 | Required | 仓位类型文本 |
| 6.35.30.5 | product_num | 入库次品量 | integer | 2 | Required | 入库次品量 |
| 6.36 | goodTotalNum | 订单可用调拨总量 | integer | 1 | Required | 订单可用调拨总量 |
| 6.37 | badTotalNum | 订单次品调拨总量 | integer | — | Required | 订单次品调拨总量 |
| 7 | total | 查询总数 | integer | 1 | Required | 查询总数 |
The 查询调拨单列表 API (/erp/sc/routing/inventoryReceipt/StorageAllocation/getStorageAllocationList) 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.