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 Order Manage
        • Product ID Mapping
          GET
        • Product Preview
          POST
        • Create Order
          POST
        • Cancel Order
          POST
        • Query Order
          POST
      • Taobao Order Pay
        • Protocol Pay
      • 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
  • 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

Create Order

POST
/taobao/purchase/order/create
This interface allows for the automatic generation of Taobao orders. Before calling the Create Order API, please call the Batch Check API first.
Parameter Description for order_line_list:
productId refers to the original product ID.
itemId should use the mpId returned by the Product ID Mapping API.
skuId should use the mpSkuid returned by the Product ID Mapping API..

Request

Body Params application/json

Example
{
    "appKey": "",
    "appSecret": "",
    "thirdOrderId": "123123",
    "purchase_amount": 1,
    "seller_order_number": "DJ123",
    "order_source": "lazada",
    "order_line_list": "[{\"itemId\":2048153758314474,\"orderLineNo\":\"1\",\"quantity\":\"3\",\"price\":100,\"currency\":\"CNY\",\"title\":\"测试商品1 \",\"skuId\":3357413213162}]",
    "receiver": {
        "country": "中国",
        "state": "上海市",
        "city": "上海市",
        "district": "张江区",
        "address": "中华大街888号",
        "zip": "000000",
        "name": "张三",
        "phone": "18888888888",
        "mobile_phone": "18888888888",
        "tax_id": null
    },
    "warehouse_address_info": {
        "country": "中国",
        "state": "上海市",
        "city": "上海市",
        "district": "张江区",
        "address": "中华大街888号",
        "zip": "000000",
        "name": "张三",
        "phone": "18888888888",
        "mobile_phone": "18888888888"
    },
    "channel_order_type": "PANAMA",
    "support_partial_success": false,
    "order_remark": "测试请忽略",
    "need_supply_chain_service": false,
    "need_sys_retry": false
}

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/create' \
--header 'Content-Type: application/json' \
--data '{
    "appKey": "",
    "appSecret": "",
    "thirdOrderId": "123123",
    "purchase_amount": 1,
    "seller_order_number": "DJ123",
    "order_source": "lazada",
    "order_line_list": "[{\"itemId\":2048153758314474,\"orderLineNo\":\"1\",\"quantity\":\"3\",\"price\":100,\"currency\":\"CNY\",\"title\":\"测试商品1 \",\"skuId\":3357413213162}]",
    "receiver": {
        "country": "中国",
        "state": "上海市",
        "city": "上海市",
        "district": "张江区",
        "address": "中华大街888号",
        "zip": "000000",
        "name": "张三",
        "phone": "18888888888",
        "mobile_phone": "18888888888",
        "tax_id": null
    },
    "warehouse_address_info": {
        "country": "中国",
        "state": "上海市",
        "city": "上海市",
        "district": "张江区",
        "address": "中华大街888号",
        "zip": "000000",
        "name": "张三",
        "phone": "18888888888",
        "mobile_phone": "18888888888"
    },
    "channel_order_type": "PANAMA",
    "support_partial_success": false,
    "order_remark": "测试请忽略",
    "need_supply_chain_service": false,
    "need_sys_retry": false
}'

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
    "code": 200,
    "message": "操作成功",
    "data": {
        "success": true,
        "errorMessage": null,
        "errorCode": null,
        "orderList": [
            {
                "orderLineList": [
                    {
                        "itemId": "2048153758314474",
                        "orderLineNo": "1",
                        "quantity": 3,
                        "supplierNick": null,
                        "estimateAmount": 6540,
                        "subPurchaseOrderId": 200049919064,
                        "estimateCurrency": "CNY",
                        "skuId": 3357413213162
                    }
                ],
                "purchaseId": "200049919063",
                "supplierNick": null,
                "estimateAmount": 6540,
                "sourceMarket": "淘宝精选",
                "estimateCurrency": "CNY"
            }
        ],
        "paymentUrl": "https://distributor.taobao.global/apps/order/list",
        "outerPurchaseId": "1231234"
    },
    "timestamp": 1723128864292,
    "traceId": "f75dc9b5b035"
}
Previous
Product Preview
Next
Cancel Order
Built with