PandaPon OpenAPI
Product documentsAPI reference
English
  • 简体中文
  • Tiếng Việt
  • Español
Product documentsAPI reference
English
  • 简体中文
  • Tiếng Việt
  • Español
Back to PandaPon Website
  1. After-sales service
  • Taobao
    • Goods
      • Taobao commodity picture search interface
      • Taobao product search interface
      • Batch query goods according to Taobao commodity id
      • Query goods according to Taobao commodity id
      • Taobao commodity inquiry
    • Order
      • Create an order
      • Paging to query the order list
      • Upload the payment voucher
      • Cancel the order
      • Modify the pre-warehouse information of the order
      • Pay for the order
      • Get the IM link
      • Get the order details according to the order ID
      • Get logistics details
    • After-sales service
      • Reverse single list query
      • Reverse single rendering interface
      • Return logistics rendering
      • Return logistics submission
      • Reverse order cancellation
      • Submit a message in reverse
      • Reverse order submission
      • Reverse single message list query
      • Reverse order modification
      • Reverse single query
    • Message callback
      • Order price modification and callback
      • Order status modification callback
      • After-sales refund of orders
    • Shopping cart
      • Create an order
      • Generate an order preview
      • List of shopping carts
      • Delete the shopping cart products
      • Add a shopping cart
      • Edit the quantity of goods
  • 1688
    • Goods
      • Commodity details inquiry
      • Convert and decrypt to Wangwang URL
      • Commodity keyword query
      • Commodity picture search
      • Commodity store search
      • Query multilingual categories according to category ID
      • Product recommendation inquiry
      • Related commodity inquiry
    • Order
      • Developers submit and pay 1688 orders in bulk
      • Preview data before creating an order (batch different merchants)
      • Create orders (different merchants)
      • Obtain the logistics tracking information of the order
      • Order list paging query
      • Preview data before creating an order
      • Create an order
      • Cancel the order before payment
      • Order payment
      • The buyer confirms the receipt of goods
    • After-sales service
      • Check the details of the after-sales order
        POST
      • Check the reason for refund and return (used to create refund and return)
        POST
      • Upload the refund and return voucher
        POST
      • Create a refund and return application
        POST
      • The buyer submits the refund information
        POST
      • List of logistics companies - all logistics companies
        GET
    • Message callback
      • Order price modification and callback
      • Order status modification interface
      • After-sales refund of 1688 orders
    • Shopping cart
      • Create an order
      • Delete the shopping cart products
      • Preview the data interface before creating an order
      • Edit the quantity of goods
      • Add a shopping cart
      • List of shopping carts
    • Marketing
      • Global strict selection
      • 1688 Strict Selection
      • Hot selling list
  • Foundations
    • Get user address information
      POST
    • Address addition and update
      POST
  • Warehouse logistics
    • Detailed overseas freight estimate
      POST
    • Preview of overseas freight for orders
      POST
    • Update domestic logistics information
      POST
    • Create international logistics orders
      POST
  1. After-sales service

Create a refund and return application

POST
/alibaba/refund/detail/create
售后

请求参数

Header 参数
access-key
string 
必需
默认值:
58c0201dfdf148eca63cbf6bb5e7cf03
nonce-str
string 
可选
默认值:
nonce-str
timestamp
string 
必需
默认值:
1715669977082
user-id
string 
必需
默认值:
2100007341207
signature
string 
必需
默认值:
B7F83FE2ADC8D8F044F2E01F0FFE8C80
Body 参数application/json
orderId
integer 
必需
orderEntryIds
array[integer]
子订单id
必需
disputeRequest
string 
必需
退款/退款退货。只有已收到货,才可以选择退款退货。退款:"refund"; 退款退货:"returnRefund
applyPayment
integer 
必需
退款金额(单位:分)。不大于实际付款金额;等待卖家发货时,必须为商品的实际付款金额。不包含运费。
applyCarriage
integer 
必需
退运费金额(单位:分)。
applyReasonId
integer 
必需
退款原因id(从API getRefundReasonList获取)
description
string 
必需
退款申请理由,2-150字
goodsStatus
string 
必需
货物状态。售中等待卖家发货:"refundWaitSellerSend"; 售中等待买家收货:"refundWaitBuyerReceive"; 售中已收货(未确认完成交易):"refundBuyerReceived" 售后未收货:"aftersaleBuyerNotReceived"; 售后已收到货:"aftersaleBuyerReceived
vouchers
array[string] | null 
可选
退运费金额(单位:分)。
orderEntryCountList
array[object (OrderEntryCount[]) {2}]  | null 
可选
子订单退款数量。仅在售中买家已收货(退款退货)时,可指定退货数量;默认,全部退货。
id
integer  | null 
子订单id
可选
count
integer  | null 
子订单购买商品数量
可选
示例
{
    "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 '/alibaba/refund/detail/create' \
--header 'access-key;' \
--header 'nonce-str: nonce-str' \
--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  | null 
请求ID
可选
code
integer  | null 
返回码
可选
developId
integer  | null 
开发者ID
可选
msg
string  | null 
返回码对应信息
可选
data
object (AlibabaRefundCreateVO) 
返回内容
可选
refundId
string  | null 
创建成功,退款id
可选
示例
{
    "requestId": "",
    "code": 0,
    "developId": 0,
    "msg": "",
    "data": {
        "refundId": ""
    }
}
修改于 2025-02-24 07:14:47
上一页
Upload the refund and return voucher
下一页
The buyer submits the refund information
Built with