Run in Apifox
The buyer or seller cancels the transaction. Note that only transactions with a specific status can be canceled. 1688 can be used to cancel unpaid orders.
Request Body Params application/json
站点信息,指定调用的API是属于国际站(alibaba)还是1688网站(1688)
{
"appKey" : "" ,
"appSecret" : "" ,
"webSite" : "1688" ,
"orderId" : "2257164624870311973" ,
"cancelReason" : "buyerCancel" ,
"remark" : "取消订单备注"
}
Request samples curl --location --request POST 'https://openapi.dajisaas.com/alibaba/trade/cancel' \
--header 'api_key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"appKey":"",
"appSecret":"",
"webSite": "1688",
"orderId": "2257164624870311973",
"cancelReason": "buyerCancel",
"remark": "取消订单备注"
}'
Responses application/json Generate Code
{
"code" : 200 ,
"message" : "操作成功" ,
"data" : {
"success" : true ,
"errorCode" : null ,
"errorMessage" : null
} ,
"timestamp" : 1723620684182 ,
"traceId" : "1acbe76d3459"
}
Modified at 2024-08-15 08:15:55