轻易云
注册体验

领星ERP查询采购变更单列表接口

所属平台
领星ERP
类型
WebAPI
作用
QUERY
接口版本
1.0
适配器
\Adapter\LingXing\LXQueryAdapter
授权方式
OTHER
描述
采购 · POST · 请求参数 7 个(必填 2) · 响应参数 59 个 · 限流令牌桶容量 1
更新日期
2026-11-21

查询采购变更单列表

POST/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
  }
}

接口请求参数

序号字段名称类型默认值必填描述
1search_field_time筛选时间类型string—可选筛选时间类型,创建时间:create_time, 更新时间:update_time,不填时默认创建时间
2start_date开始时间string—可选开始时间
3end_date结束时间string—可选结束时间
4offset分页偏移量integer—必填分页偏移量
5length分页长度integer—必填分页长度
6multi_search_field搜索单号字段string—可选搜索单号字段,变更单号:order_sn;采购单号:purchase_order_sn
7multi_search_value批量搜索的单号值array<any>—可选批量搜索的单号值

接口响应参数

序号字段名称类型默认值必填描述
1code状态码integer0必填状态码,0 成功
2message响应消息string操作成功必填响应消息
3error_details错误信息array<any>—必填错误信息
4request_id请求链路idstring8DFEE1CA-EC9B-F401-5D41-9F95251D5D50必填请求链路id
5response_time响应时间string2020-09-21 15:48:58必填响应时间
6data数据array<object>—必填数据
6.1total总数integer338必填总数
6.2list列表数据array<object>—必填列表数据
6.2.1order_sn变更单号stringPOC220505001必填变更单号
6.2.2create_time创建时间string2022-05-05 15:08:43必填创建时间
6.2.3supplier_name供应商string默认供应商必填供应商
6.2.4old_supplier_name旧供应商string默认旧供应商必填旧供应商
6.2.5wid仓库idstring1必填仓库id
6.2.6old_wid旧仓库idstring1必填旧仓库id
6.2.7ware_house_name仓库stringfq本地仓库1必填仓库
6.2.8old_ware_house_name旧仓库string旧仓库必填旧仓库
6.2.9create_realname创建人string冯x必填创建人
6.2.10opt_realname采购员string安安必填采购员
6.2.11remark备注string—必填备注
6.2.12status状态标识码integer1必填状态标识码: -1 已驳回 0 待审核 1 已处理
6.2.13status_text状态文本string已处理必填状态文本
6.2.14icon货币符号string¥必填货币符号
6.2.15amount金额number—必填金额
6.2.16old_amount旧金额number—必填旧金额
6.2.17item_list变更单商品子项array<object>—必填变更单商品子项
6.2.17.1wid仓库idarray<any>—必填仓库id
6.2.17.2old_wid旧仓库idarray<any>—必填旧仓库id
6.2.17.3ware_house_name仓库string本地仓库必填仓库
6.2.17.4old_ware_house_name旧仓库string旧仓库必填旧仓库
6.2.17.5spuspustring—必填spu
6.2.17.6spu_namespu名称string—必填spu名称
6.2.17.7product_name品名string木牛流马必填品名
6.2.17.8product_id产品idstring—必填产品id
6.2.17.9skuskustringmu123必填SKU
6.2.17.10attribute属性信息string—必填属性信息
6.2.17.10.1attr_id属性idinteger—必填属性id
6.2.17.10.2attr_name属性名string—必填属性名
6.2.17.10.3attr_value属性值string—必填属性值
6.2.17.11fnskufnskustringX002JICY5VCR必填FNSKU
6.2.17.12price含税单价string0.00必填含税单价
6.2.17.13old_price旧含税单价string0.00必填旧含税单价
6.2.17.14price_without_tax不含税单价number—必填不含税单价
6.2.17.15old_price_without_tax旧不含税单价number—必填旧不含税单价
6.2.17.16tax_rate税率number—必填税率
6.2.17.17old_tax_rate旧税率number—必填旧税率
6.2.17.18quantity_real实际采购量number250必填实际采购量
6.2.17.19old_quantity_real旧实际采购量number200必填旧实际采购量
6.2.17.20amount金额number0必填金额
6.2.17.21old_amount旧金额number0必填旧金额
6.2.17.22seller店铺列表array<object>—必填店铺列表
6.2.17.22.1mid站点idinteger—必填站点id
6.2.17.22.2sid店铺idinteger—必填店铺id
6.2.17.22.3seller_name店铺名称string—必填店铺名称
6.2.17.22.4country_name国家string—必填国家
6.2.17.23mskumskuarray<any>—必填msku
6.2.17.24is_tax是否含税integer1必填是否含税
6.2.17.25is_aux是否辅料integer0必填是否辅料
6.2.17.26expect_arrive_time预计到货时间string—必填预计到货时间
6.2.17.27old_expect_arrive_time原预计到货时间string—必填原预计到货时间

领星ERP的接口:查询采购变更单列表(/erp/sc/routing/purchase/purchaseChangeOrder/changeOrderList),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。

需要对接这个接口?

轻易云已预置该接口的适配能力,联系我们即可开始配置数据集成。