/erp/sc/routing/purchase/purchaseChangeOrder/changeOrderList{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/purchase/purchaseChangeOrder/changeOrderList"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"search_field_time": "create_time",
"offset": 0,
"length": 20,
"start_date": "2024-08-02",
"end_date": "2024-08-02",
"multi_search_field": "purchase_order_sn",
"multi_search_value": [
"test-01",
"test-02"
]
},
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "AABB891A-8A17-94C0-4DBA-0399C4641320",
"response_time": "2022-05-26 10:54:41",
"data": [
{
"order_sn": "POC230524011",
"create_time": "2023-05-24 15:35:26",
"supplier_name": "A0516供应商115",
"old_supplier_name": "A0516供应商115",
"wid": 1,
"old_wid": 1,
"ware_house_name": "默认仓库",
"old_ware_house_name": "默认仓库",
"create_realname": "超级管理员",
"opt_realname": "超级管理员",
"old_opt_realname": "超级管理员",
"remark": "备注xx",
"status": 1,
"status_text": "已处理",
"icon": "¥",
"amount": "200.00",
"old_amount": "100.00",
"item_list": [
{
"wid": 1,
"old_wid": 1,
"ware_house_name": "默认仓库",
"old_ware_house_name": "默认仓库",
"spu": "140141010",
"spu_name": "770",
"product_name": "调拨单删除",
"product_id": "17797",
"sku": "0007-1",
"attribute": [
{
"attr_id": 590,
"attr_name": "ZDH属性",
"attr_value": "ZDH属性值"
}
],
"is_aux": 0,
"seller": [],
"msku": [],
"fnsku": "",
"price": "10.0000",
"old_price": "10.0000",
"price_without_tax": "8.8496",
"old_price_without_tax": "8.8496",
"tax_rate": "13.00",
"old_tax_rate": "13.00",
"amount": "200.00",
"old_amount": "100.00",
"is_tax": 1,
"quantity_real": 20,
"old_quantity_real": 10
}
]
}
],
"total": 1
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | search_field_time | 筛选时间类型 | string | — | 可选 | 筛选时间类型,创建时间:create_time, 更新时间:update_time,不填时默认创建时间 |
| 2 | start_date | 开始时间 | string | — | 可选 | 开始时间 |
| 3 | end_date | 结束时间 | string | — | 可选 | 结束时间 |
| 4 | offset | 分页偏移量 | integer | — | 必填 | 分页偏移量 |
| 5 | length | 分页长度 | integer | — | 必填 | 分页长度 |
| 6 | multi_search_field | 搜索单号字段 | string | — | 可选 | 搜索单号字段,变更单号:order_sn;采购单号:purchase_order_sn |
| 7 | multi_search_value | 批量搜索的单号值 | array<any> | — | 可选 | 批量搜索的单号值 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 响应消息 | string | 操作成功 | 必填 | 响应消息 |
| 3 | error_details | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | request_id | 请求链路id | string | 8DFEE1CA-EC9B-F401-5D41-9F95251D5D50 | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2020-09-21 15:48:58 | 必填 | 响应时间 |
| 6 | data | 数据 | array<object> | — | 必填 | 数据 |
| 6.1 | total | 总数 | integer | 338 | 必填 | 总数 |
| 6.2 | list | 列表数据 | array<object> | — | 必填 | 列表数据 |
| 6.2.1 | order_sn | 变更单号 | string | POC220505001 | 必填 | 变更单号 |
| 6.2.2 | create_time | 创建时间 | string | 2022-05-05 15:08:43 | 必填 | 创建时间 |
| 6.2.3 | supplier_name | 供应商 | string | 默认供应商 | 必填 | 供应商 |
| 6.2.4 | old_supplier_name | 旧供应商 | string | 默认旧供应商 | 必填 | 旧供应商 |
| 6.2.5 | wid | 仓库id | string | 1 | 必填 | 仓库id |
| 6.2.6 | old_wid | 旧仓库id | string | 1 | 必填 | 旧仓库id |
| 6.2.7 | ware_house_name | 仓库 | string | fq本地仓库1 | 必填 | 仓库 |
| 6.2.8 | old_ware_house_name | 旧仓库 | string | 旧仓库 | 必填 | 旧仓库 |
| 6.2.9 | create_realname | 创建人 | string | 冯x | 必填 | 创建人 |
| 6.2.10 | opt_realname | 采购员 | string | 安安 | 必填 | 采购员 |
| 6.2.11 | remark | 备注 | string | — | 必填 | 备注 |
| 6.2.12 | status | 状态标识码 | integer | 1 | 必填 | 状态标识码: -1 已驳回 0 待审核 1 已处理 |
| 6.2.13 | status_text | 状态文本 | string | 已处理 | 必填 | 状态文本 |
| 6.2.14 | icon | 货币符号 | string | ¥ | 必填 | 货币符号 |
| 6.2.15 | amount | 金额 | number | — | 必填 | 金额 |
| 6.2.16 | old_amount | 旧金额 | number | — | 必填 | 旧金额 |
| 6.2.17 | item_list | 变更单商品子项 | array<object> | — | 必填 | 变更单商品子项 |
| 6.2.17.1 | wid | 仓库id | array<any> | — | 必填 | 仓库id |
| 6.2.17.2 | old_wid | 旧仓库id | array<any> | — | 必填 | 旧仓库id |
| 6.2.17.3 | ware_house_name | 仓库 | string | 本地仓库 | 必填 | 仓库 |
| 6.2.17.4 | old_ware_house_name | 旧仓库 | string | 旧仓库 | 必填 | 旧仓库 |
| 6.2.17.5 | spu | spu | string | — | 必填 | spu |
| 6.2.17.6 | spu_name | spu名称 | string | — | 必填 | spu名称 |
| 6.2.17.7 | product_name | 品名 | string | 木牛流马 | 必填 | 品名 |
| 6.2.17.8 | product_id | 产品id | string | — | 必填 | 产品id |
| 6.2.17.9 | sku | sku | string | mu123 | 必填 | SKU |
| 6.2.17.10 | attribute | 属性信息 | string | — | 必填 | 属性信息 |
| 6.2.17.10.1 | attr_id | 属性id | integer | — | 必填 | 属性id |
| 6.2.17.10.2 | attr_name | 属性名 | string | — | 必填 | 属性名 |
| 6.2.17.10.3 | attr_value | 属性值 | string | — | 必填 | 属性值 |
| 6.2.17.11 | fnsku | fnsku | string | X002JICY5VCR | 必填 | FNSKU |
| 6.2.17.12 | price | 含税单价 | string | 0.00 | 必填 | 含税单价 |
| 6.2.17.13 | old_price | 旧含税单价 | string | 0.00 | 必填 | 旧含税单价 |
| 6.2.17.14 | price_without_tax | 不含税单价 | number | — | 必填 | 不含税单价 |
| 6.2.17.15 | old_price_without_tax | 旧不含税单价 | number | — | 必填 | 旧不含税单价 |
| 6.2.17.16 | tax_rate | 税率 | number | — | 必填 | 税率 |
| 6.2.17.17 | old_tax_rate | 旧税率 | number | — | 必填 | 旧税率 |
| 6.2.17.18 | quantity_real | 实际采购量 | number | 250 | 必填 | 实际采购量 |
| 6.2.17.19 | old_quantity_real | 旧实际采购量 | number | 200 | 必填 | 旧实际采购量 |
| 6.2.17.20 | amount | 金额 | number | 0 | 必填 | 金额 |
| 6.2.17.21 | old_amount | 旧金额 | number | 0 | 必填 | 旧金额 |
| 6.2.17.22 | seller | 店铺列表 | array<object> | — | 必填 | 店铺列表 |
| 6.2.17.22.1 | mid | 站点id | integer | — | 必填 | 站点id |
| 6.2.17.22.2 | sid | 店铺id | integer | — | 必填 | 店铺id |
| 6.2.17.22.3 | seller_name | 店铺名称 | string | — | 必填 | 店铺名称 |
| 6.2.17.22.4 | country_name | 国家 | string | — | 必填 | 国家 |
| 6.2.17.23 | msku | msku | array<any> | — | 必填 | msku |
| 6.2.17.24 | is_tax | 是否含税 | integer | 1 | 必填 | 是否含税 |
| 6.2.17.25 | is_aux | 是否辅料 | integer | 0 | 必填 | 是否辅料 |
| 6.2.17.26 | expect_arrive_time | 预计到货时间 | string | — | 必填 | 预计到货时间 |
| 6.2.17.27 | old_expect_arrive_time | 原预计到货时间 | string | — | 必填 | 原预计到货时间 |
领星ERP的接口:查询采购变更单列表(/erp/sc/routing/purchase/purchaseChangeOrder/changeOrderList),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。