/basicOpen/purchase/cancelPurchaseReturnOrder{
"operation": {
"method": "POST",
"path": "/basicOpen/purchase/cancelPurchaseReturnOrder"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/basicOpen/purchase/cancelPurchaseReturnOrder?access_token=value×tamp=value&sign=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '{\n \"order_sn\": [\n \"PR241113001\"\n ],\n \"cancel_reason\": \"12\"\n}'",
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "",
"response_time": "",
"data": null
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | order_sn | 采购/委外退货单号 | array<any> | — | Required | 采购/委外退货单号 |
| 2 | cancel_reason | 作废原因 | string | — | Required | 作废原因 |
| 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 | 41be37b6468d434d90064b2da1a0d7b8.1733724738645 | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2024-12-09 14:12:22 | Required | 响应时间 |
| 6 | data | 该接口data返回为null | string | — | Required | 该接口data返回为null |
The 作废采购/委外退货单 API (/basicOpen/purchase/cancelPurchaseReturnOrder) 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.