- 淘宝
- 1688
- 商品
- 购物车
- 订单
- 售后
- 消息回调
- 基础
- 仓库物流
1688创建退款退货申请
POST
/v2/alibaba/refund/detail/create
请求参数
Header 参数
access-key
string
必需
默认值:
your-access-key
timestamp
string
必需
默认值:
your-timestamp
user-id
string
必需
默认值:
your-user-id
signature
string
必需
默认值:
your-signature
Body 参数application/json
orderId
integer
必需
orderEntryIds
array[integer]
子订单id
disputeRequest
string
必需
applyPayment
integer
必需
applyCarriage
integer
必需
applyReasonId
integer
必需
description
string
必需
goodsStatus
string
必需
vouchers
array[string]
可选
orderEntryCountList
array[object (OrderEntryCount[]) {2}]
可选
id
integer
子订单id
count
integer
子订单购买商品数量
示例
{
"orderId": 0,
"orderEntryIds": [
0
],
"disputeRequest": "string",
"applyPayment": 0,
"applyCarriage": 0,
"applyReasonId": 0,
"description": "string",
"goodsStatus": "string",
"vouchers": [
"string"
],
"orderEntryCountList": [
{
"id": 0,
"count": 0
}
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/v2/alibaba/refund/detail/create' \
--header 'access-key;' \
--header 'timestamp;' \
--header 'user-id;' \
--header 'signature;' \
--header 'Content-Type: application/json' \
--data-raw '{
"orderId": 0,
"orderEntryIds": [
0
],
"disputeRequest": "string",
"applyPayment": 0,
"applyCarriage": 0,
"applyReasonId": 0,
"description": "string",
"goodsStatus": "string",
"vouchers": [
"string"
],
"orderEntryCountList": [
{
"id": 0,
"count": 0
}
]
}'
返回响应
🟢200成功
application/json
Body
requestId
string
请求ID
code
integer
返回码
developId
integer
开发者ID
msg
string
返回码对应信息
data
object (AlibabaRefundCreateVO)
返回内容
refundId
string
创建成功,退款id
示例
{
"requestId": "",
"code": 0,
"developId": 0,
"msg": "",
"data": {
"refundId": ""
}
}
修改于 2025-04-24 09:44:27