/basicOpen/customerService/returnOrder/getReturnQty{
"operation": {
"method": "POST",
"path": "/basicOpen/customerService/returnOrder/getReturnQty"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/basicOpen/customerService/returnOrder/getReturnQty?access_token=value×tamp=value&sign=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '{\n \"globalOrderNo\": 103290951812762112\n}'",
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "a0d54debf93140f3b58d1ed81e8e3583",
"response_time": "2026-09-01 12:00:00",
"data": {
"globalOrderNo": 103290951812762110,
"returnQty": [
{
"num": 1,
"orderItemNo": "ITEM-001",
"pid": 1
}
]
}
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | globalOrderNo | 系统单号 | integer | — | Optional | 系统单号,与 orderItemNo 至少传一个;来源:查询订单管理订单列表 返回的 data>>list>>global_order_no |
| 2 | orderItemNo | 商品行号 | array<any> | — | Optional | 商品行号,与 globalOrderNo 至少传一个;来源:查询订单管理订单列表 返回的 data>>list>>item_info>>order_item_no |
| 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 | a0d54debf93140f3b58d1ed81e8e3583 | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2026-09-01 12:00:00 | Required | 响应时间 |
| 6 | data | 响应数据 | object | — | Required | 响应数据 |
| 6.1 | globalOrderNo | 系统单号 | integer | 103290951812762110 | Required | 系统单号 |
| 6.2 | returnQty | 已退货数量集合 | array<object> | — | Required | 已退货数量集合 |
| 6.2.1 | num | 已退货数量 | integer | 1 | Required | 已退货数量 |
| 6.2.2 | orderItemNo | 商品行号 | string | ITEM-001 | Required | 商品行号 |
| 6.2.3 | pid | 本地产品ID | integer | 1 | Required | 本地产品ID |
The 查询订单已退货数量 API (/basicOpen/customerService/returnOrder/getReturnQty) 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.