DAJI OPEN PLATFORM
中文
PRICE
CONSOLE
  1. Taobao Order Manage
  • Introduction
    • I. Learn About DAJI
    • II. Become a developer
    • III. Get Access Key and Access Secret
    • IV. Start Your Application Development
    • V. Frequently Asked Question
    • VI. Plans & Pricing
  • 1688 - Adapted Capabilities
    • Capability Specifications
      • Request Signature
      • Enum Type
      • Message Notification
      • Message Notification - Signature
    • Integration Testing
      • 1688 Business Opportunity
        • Query Ranking List
        • Query Daily Product Sales Trend
      • 1688 Product Search
        • Upload image to get imageId
        • Image Search
        • Keyword Search
        • Product Detail Search
        • Shop Search
        • Product Shipping Query
        • Category Query
        • Product Detail Search - supports short links
      • 1688 Order Manage
        • Preview Order
        • Create Order
        • Cancel Order
        • Confirm Receipt
        • Query Order Detail
        • Query Order List
      • 1688 Order Pay
        • Get payment links for orders in batches
        • Protocol Pay
      • Other API
        • Multilingual Search Navigation
  • Taobao - Adapted Capabilities
    • Capability Specifications
      • Request Signature
      • Enum Type
      • Message Notification
      • Message Notification - Signature
    • Integration Testing
      • Taobao Product Search
        • Image upload By Get
        • Image Search
        • Keyword Product Search
        • Shop Search
        • Product Detail Search V2
        • Ranking Type Search
        • Ranking Product Search
        • Product Shipping Query V2
        • Product Detail Search - supports short links
        • Batch Product Shipping Query V2
      • Taobao Order Manage
        • Product ID Mapping
          GET
        • Product Preview
          POST
        • Create Order
          POST
        • Cancel Order
          POST
        • Query Order
          POST
      • Taobao Order Pay
        • Protocol Pay
  • Poizon V2.0 - Adapted Capabilities
    • Capability Specifications
    • Integration Testing
      • Poizon V2.0 Product Search
        • Keyword Search
        • Product Detail
      • Poizon V2.0 Order Manage
        • Create Order & Payment
        • Query Order Info
        • Cancel Order
      • Poizon V2.0 Logistics
        • Query Logistics Trace
      • Poizon V2.0 Balance Query
        • Balance Query
  1. Taobao Order Manage

Cancel Order

POST
/taobao/purchase/order/asyn/cancel
This interface allows you to automatically cancel Taobao orders.

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

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
    "code": 200,
    "message": "操作成功",
    "data": {
        "code": "0",
        "success": true,
        "requestId": "2140f4a217231955990844284",
        "errorCode": null,
        "TraceId": "2140e7c617231955990811790e0deb",
        "errorMsg": null
    },
    "timestamp": 1723195600231,
    "traceId": "620d55d39363"
}
Previous
Create Order
Next
Query Order
Built with