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

Create order

POST
/taobao/purchase/order/create
Create order interface, through which Taobao orders can be automatically generated. Before calling the create order interface, please call the credential stuffing interface (use mpId for itemId and mpSkuid for skuId).

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\":\"\u6D4B\u8BD5\u5546\u54C11 \",\"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 --request POST 'https://openapi.dajisaas.com/taobao/purchase/order/create' \
--header 'Content-Type: application/json' \
--data-raw '{
    "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\":\"\u6D4B\u8BD5\u5546\u54C11 \",\"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

🟢200成功
application/json
Body

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"
}
Modified at 2024-08-16 11:12:04
Previous
Preview order
Next
Cancel order
Built with