/erp/sc/routing/inventoryReceipt/StorageProcess/getOrderLists{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/inventoryReceipt/StorageProcess/getOrderLists"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"offset": 0,
"length": 20,
"wid": 53,
"type": 1,
"process_sn": "PT240730001",
"status": 2,
"search_field_time": "create_time",
"start_date": "2024-07-30",
"end_date": "2024-07-30"
},
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "160B52C9-2B20-2A28-75E9-548C96A90565",
"response_time": "2023-03-28 09:59:00",
"data": [
{
"process_sn": "PT230324003",
"wid": 1,
"remark": "",
"status": 2,
"type": 1,
"create_by": 10317908,
"create_time": "2023-03-24 00:55:36",
"finish_uid": 10317908,
"finish_time": "2023-03-26 22:46:51",
"create_realname": "验证账户2",
"finish_realname": "验证账户2",
"ware_house_name": "默认仓库",
"product_list": [
{
"sku": "niubao",
"fnsku": "",
"quantity": 44,
"remark": "",
"process_fee": "0.000000",
"sync_price": "0.0000",
"sync_amount": "0.00",
"seller_id": 0,
"pic_url": "https://image.distxxx.com/xxx/9dc0c077bc5c2.jpg",
"product_name": "早餐套餐",
"seller_name": "",
"whb_code_good": [],
"item_list": [
{
"fnsku": "",
"quantity_process": 44,
"sync_price": "0.0000",
"sync_amount": "0.00",
"seller_id": 0,
"product_name": "肉包",
"sku": "baozi",
"seller_name": "",
"whb_code_good": []
},
{
"fnsku": "",
"quantity_process": 44,
"sync_price": "0.0000",
"sync_amount": "0.00",
"seller_id": 0,
"product_name": "纯牛奶",
"sku": "niunai",
"seller_name": "",
"whb_code_good": []
}
]
}
]
}
],
"total": 999
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | type | 单据类型 | integer | — | Required | 单据类型:1加工单,2拆分单 |
| 2 | wid | 仓库id | string | — | Optional | 仓库id,多个用英文逗号分隔 |
| 3 | process_sn | 加工单号 | string | — | Optional | 加工单号,多个用英文逗号分隔 |
| 4 | status | 加工状态 | integer | — | Optional | 加工状态: 0 待配货 1 待完成 2 已完成 |
| 5 | search_field_time | 时间搜索维度 | string | — | Optional | 时间搜索维度: create_time 创建时间 finish_time 完成时间 update_time 更新时间 |
| 6 | start_date | 开始时间 | string | — | Optional | 开始时间,格式:Y-m-d |
| 7 | end_date | 结束时间 | string | — | Optional | 结束时间,格式:Y-m-d |
| 8 | offset | 分页偏移量 | integer | — | Required | 分页偏移量,默认0 |
| 9 | length | 分页长度 | integer | — | Required | 分页长度,默认500 |
| 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 | 160B52C9-2B20-2A28-75E9-548C96A90565 | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2023-03-28 09:59:00 | Required | 响应时间 |
| 6 | total | 单据总数 | integer | 200 | Required | 单据总数 |
| 7 | data | 响应数据 | array<object> | — | Required | 响应数据 |
| 7.1 | process_sn | 加工/拆分单号 | string | PT230324003 | Required | 加工/拆分单号 |
| 7.2 | status | 订单状态 | integer | 2 | Required | 订单状态: 0 待配货 1 待完成 2 已完成 |
| 7.3 | type | 单据类型 | string | 1 | Required | 单据类型: 1 加工单 2 拆分单 |
| 7.4 | ware_house_name | 仓库名称 | string | 默认仓库 | Required | 仓库名称 |
| 7.5 | wid | 仓库id | integer | 1 | Required | 仓库id |
| 7.6 | create_by | 创建人id | integer | 111 | Required | 创建人id |
| 7.7 | create_realname | 创建人名称 | string | 验证账户2 | Required | 创建人名称 |
| 7.8 | create_time | 创建时间 | string | 2023-03-24 00:55:36 | Required | 创建时间 |
| 7.9 | finish_realname | 最后操作人 | string | 验证账户2 | Required | 最后操作人 |
| 7.10 | finish_time | 最后操作时间 | string | 2023-03-26 22:46:51 | Required | 最后操作时间 |
| 7.11 | finish_uid | 最后操作人id | integer | 111 | Required | 最后操作人id |
| 7.12 | remark | 备注 | string | 备注 | Required | 备注 |
| 7.13 | update_time | 更新时间 | string | 2023-03-24 00:55:36 | Required | 更新时间 |
| 7.14 | product_list | 组合品项 | array<object> | — | Required | 组合品项 |
| 7.14.1 | sku | 组合品sku | string | niubao | Required | 组合品sku |
| 7.14.2 | product_name | 组合品产品名称 | string | 早餐 | Required | 组合品产品名称 |
| 7.14.3 | fnsku | 组合品fnksu | string | fnsku | Required | 组合品fnksu |
| 7.14.4 | seller_id | 组合品店铺id | integer | 3 | Required | 组合品店铺id |
| 7.14.5 | seller_name | 组合品店铺名称 | string | 店铺1 | Required | 组合品店铺名称 |
| 7.14.6 | sync_price | 单位入库成本 | string | 0.0000 | Required | 单位入库成本 |
| 7.14.7 | sync_amount | 入库成本 | string | 0.00 | Required | 入库成本 |
| 7.14.8 | process_fee | 加工费 | string | 0.000000 | Required | 加工费 |
| 7.14.9 | remark | 备注 | string | 默认备注 | Required | 备注 |
| 7.14.10 | whb_code_good | 加工单组合品入库仓位 | array<object> | [] | Required | 加工单组合品入库仓位 |
| 7.14.10.1 | whb_code | 仓位编码 | string | ts_valid | Optional | 仓位编码 |
| 7.14.10.2 | whb_code_name | 仓位名 | string | 可用暂存 | Optional | 仓位名 |
| 7.14.10.3 | whb_num | 数量 | integer | 1 | Optional | 数量 |
| 7.14.11 | pic_url | 组合品图片 | string | https://image.distxxx.com/xxx/9dc0c077bc5c2.jpg | Required | 组合品图片 |
| 7.14.12 | quantity | 加工量/拆分量 | integer | 1 | Required | 加工量/拆分量 |
| 7.14.13 | item_list | 单品明细项 | array<object> | — | Required | 单品明细项 |
| 7.14.13.1 | sku | 单品sku | string | sku1 | Required | 单品sku |
| 7.14.13.2 | product_name | 单品名称 | string | 鸡蛋 | Required | 单品名称 |
| 7.14.13.3 | fnsku | 单品fnsku | string | fnsku | Required | 单品fnsku |
| 7.14.13.4 | quantity_process | 单品加工量/拆分量 | integer | 2 | Required | 单品加工量/拆分量 |
| 7.14.13.5 | sync_price | 单位出库成本 | string | 0.0000 | Required | 单位出库成本 |
| 7.14.13.6 | sync_amount | 出库成本 | string | 0.00 | Required | 出库成本 |
| 7.14.13.7 | seller_id | 单品店铺id | integer | 33 | Required | 单品店铺id |
| 7.14.13.8 | seller_name | 单品店铺名 | string | 店铺1 | Required | 单品店铺名 |
| 7.14.13.9 | whb_code_good | 拆分单品入库仓位 | array<object> | [] | Required | 拆分单品入库仓位 |
| 7.14.13.9.1 | whb_code | 仓位编码 | string | ts_valid | Optional | 仓位编码 |
| 7.14.13.9.2 | whb_code_name | 仓位名 | string | 可用暂存 | Optional | 仓位名 |
| 7.14.13.9.3 | whb_num | 数量 | integer | 1 | Optional | 数量 |
The 加工单列表 API (/erp/sc/routing/inventoryReceipt/StorageProcess/getOrderLists) 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.