English
Product Documentation1688 APITaobao/Tmall APIPoizon API
Product Documentation1688 APITaobao/Tmall APIPoizon API
中文
  1. 1688 Order Manage
  • 1688 Solution Introduction
  • 1688 Product Search
    • Image upload By Get
      GET
    • Image upload By Post
      POST
    • Image search
      GET
    • keyword search
      GET
    • Product details search
      GET
    • 类目查询
      GET
  • 1688 Order Manage
    • Preview order
      POST
    • Create order
      POST
    • Cancel order
      POST
    • View order details
      POST
    • Buyer confirms receipt
      POST
  • 1688 Oder Pay
    • Get payment links for orders in batches
      GET
    • Initiate password-free payment
      POST
  • 1688 Message Service
    • 1688 Message Service
  1. 1688 Order Manage

Cancel order

POST
/alibaba/trade/cancel
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

Header Params

Body Params application/json

Example
{
    "appKey":"",
	"appSecret":"",
    "webSite": "1688",
    "orderId": "2257164624870311973",
    "cancelReason": "buyerCancel",
    "remark": "取消订单备注"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
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

🟢200成功
application/json
Body

Example
{
    "code": 200,
    "message": "操作成功",
    "data": {
        "success": true,
        "errorCode": null,
        "errorMessage": null
    },
    "timestamp": 1723620684182,
    "traceId": "1acbe76d3459"
}
Modified at 2024-08-15 08:15:55
Previous
Create order
Next
View order details
Built with