English
Product Documentation1688 APITaobao/Tmall APIPoizon API
Product Documentation1688 APITaobao/Tmall APIPoizon API
中文
  1. Taobao / Tmall Order Manage
  • Taobao / Tmall Product Search
    • Image upload By Get
      GET
    • Image upload By Post
      POST
    • Image search V1.0
      GET
    • keyword search
      GET
    • shop search
      GET
    • Product details search
      GET
    • Product Logistics Price Get
      GET
    • Hot list type search
      GET
    • List product search
      GET
    • Product Logistics Price Post
      POST
    • Image search V2.0
      GET
  • Taobao / Tmall Order Manage
    • Product Bunker interface(撞库)
      GET
    • Preview order
      POST
    • Create order
      POST
    • Cancel order
      POST
    • View order details
      POST
  • Taobao / Tmall Order Pay
    • Pay order
      POST
  • Taobao / Tmall Message
    • Message Type
  1. Taobao / Tmall Order Manage

Cancel order

POST
/taobao/purchase/order/asyn/cancel
Order cancellation interface, through which Taobao orders can be automatically canceled.

Request

Body Params application/json

Example
{
    "appKey": "",
    "appSecret": "",
    "purchase_id": "200049962700",
    "sub_purchase_orderId_list": ["200049962701"],
    "cancel_reason": "取消的原因",
    "cancel_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/taobao/purchase/order/asyn/cancel' \
--header 'Content-Type: application/json' \
--data-raw '{
    "appKey": "",
    "appSecret": "",
    "purchase_id": "200049962700",
    "sub_purchase_orderId_list": ["200049962701"],
    "cancel_reason": "取消的原因",
    "cancel_remark": "备注"
}'

Responses

🟢200成功
application/json
Body

Example
{
    "code": 200,
    "message": "操作成功",
    "data": {
        "code": "0",
        "success": true,
        "requestId": "2140f4a217231955990844284",
        "errorCode": null,
        "TraceId": "2140e7c617231955990811790e0deb",
        "errorMsg": null
    },
    "timestamp": 1723195600231,
    "traceId": "620d55d39363"
}
Modified at 2024-08-16 11:16:25
Previous
Create order
Next
View order details
Built with