Qeasy Cloud
Get Started

领星ERP 作废采购单 API

Platform
领星ERP
Type
WebAPI
Effect
EXECUTE
API Version
1.0
Adapter
\Adapter\LingXing\LXExecuteAdapter
Auth Mode
OTHER
Description
采购 · POST · 请求参数 3 个(必填 3) · 响应参数 7 个 · 限流令牌桶容量 1
Updated At
2026-11-21

作废采购单

POST/erp/sc/routing/purchase/purchase/cancel
Factory
{
  "operation": {
    "method": "POST",
    "path": "/erp/sc/routing/purchase/purchase/cancel"
  },
  "protocol": "HTTPS",
  "host": "https://openapi.lingxing.com",
  "rateLimit": {
    "tokenBucketCapacity": 1,
    "text": ""
  },
  "requestExample": {
    "order_sn": "PO211112002",
    "reason": "不需要采购了",
    "is_cancel_relation": 1
  },
  "responseExample": {
    "code": 0,
    "message": "success",
    "error_details": [],
    "request_id": "8DFEE1CA-EC9B-F401-5D41-9F95251D5D50",
    "response_time": "2023-06-25 12:41:04",
    "data": [],
    "total": 0
  }
}

Request Parameters

No.FieldNameTypeDefaultRequiredDescription
1order_sn采购单系统单号string—Required采购单系统单号
2reason作废原因string—Required作废原因,长度不超过80
3is_cancel_relation是否取消关联采购计划integer—Required是否取消关联采购计划:0 否【默认】,1 是

Response Parameters

No.FieldNameTypeDefaultRequiredDescription
1code状态码integer0Required状态码,0 成功
2message提示消息stringsuccessRequired提示消息
3error_details错误信息array<any>—Required错误信息
4request_id请求链路idstring81CA6A9A-A5C4-8B5E-5FED-E1C2EC04753CRequired请求链路id
5response_time响应时间string2020-12-01 12:11:12Required响应时间
6data响应数据array<any>—Required响应数据
7total总数integer0Required总数

The 作废采购单 API (/erp/sc/routing/purchase/purchase/cancel) 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.

Need to integrate this API?

Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.