English
Product Documentation1688 APITaobao/Tmall API
Product Documentation1688 APITaobao/Tmall API
中文
  1. Taobao / Tmall Order Manage
  • Taobao / Tmall Product Search
    • Image upload By Get
      GET
    • Image upload By Post
      POST
    • Image search
      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 search2
      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

Preview order

POST
/taobao/purchase/order/render
Product preview interface, through which you can obtain accurate prices and shipping costs in China. Before calling the product preview interface, please call the credential stuffing interface (use mpId for itemId and mpSkuid for skuId).

Request

Body Params application/json
appKey
string 
required
大吉平台appKey
appSecret
string 
required
秘钥,仅调试使用,正式用sign签名
need_supplychain_service
boolean 
required
填写false
receiver_address
object 
required
收货人地址信息(填写中国仓库信息即可)
country
string 
required
一级地址 (国家)
state
string 
required
二级地址 (省、自治区、直辖市)
city
string 
required
三级地址 (市)
district
string 
required
四级地址 (县、区、县级市)
address
string 
required
详细地址
zip
string 
required
邮编
name
string 
required
姓名
phone
string 
required
电话
mobile_phone
string 
required
手机号
warehouse_address
object 
required
中国仓库地址
country
string 
required
一级地址 (国家)
state
string 
required
二级地址 (省、直辖市、自治区)
city
string 
required
三级地址 (市)
district
string 
required
四级地址 (县、区、县级市)
address
string 
required
详细地址
zip
string 
required
邮编
phone
string 
required
姓名
mobile_phone
string 
required
电话
name
string 
required
手机号
render_item_List
string 
required
预览商品列表,此处itemId与skuId信息,需要先调用撞库接口获得mpId与mpSkuid,itemId请填写mpId,skuId请填写mpSkuid。
Example
{
  "appKey": "",
  "appSecret": "",
  "need_supplychain_service": false,
  "receiver_address": {
    "country": "中国",
    "state": "上海市",
    "city": "上海市",
    "district": "张江区",
    "address": "中华大街888号",
    "zip": "000000",
    "name": "张三",
    "phone": "18888888888",
    "mobile_phone": "18888888888"
  },
  "warehouse_address": {
    "country": "中国",
    "state": "上海市",
    "city": "上海市",
    "district": "张江区",
    "address": "中华大街888号",
    "zip": "000000",
    "name": "张三",
    "phone": "18888888888",
    "mobile_phone": "18888888888"
  },
  "render_item_List": "[{\"itemId\":2048153758314474,\"quantity\":\"1\",\"skuId\":3357413213162}]"
}

Request 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/render' \
--header 'Content-Type: application/json' \
--data-raw '{
    "appKey": "",
    "appSecret": "",
    "need_supplychain_service": false,
    "receiver_address":
    {
        "country": "中国",
        "state": "上海市",
        "city": "上海市",
        "district": "张江区",
        "address": "中华大街888号",
        "zip": "000000",
        "name": "张三",
        "phone": "18888888888",
        "mobile_phone": "18888888888"
    },
    "warehouse_address":
    {
        "country": "中国",
        "state": "上海市",
        "city": "上海市",
        "district": "张江区",
        "address": "中华大街888号",
        "zip": "000000",
        "name": "张三",
        "phone": "18888888888",
        "mobile_phone": "18888888888"
    },
    "render_item_List": "[{\"itemId\":2048153758314474,\"quantity\":\"1\",\"skuId\":3357413213162}]"
}'

Responses

🟢200成功
application/json
Body
code
integer 
required
返回码
message
string 
required
消息
data
object 
required
业务数据
result
object 
required
返回结果
code
string 
required
返回码
requestId
string 
required
TraceId
string 
required
timestamp
integer 
required
traceId
string 
required
Example
{
  "code": 200,
  "message": "操作成功",
  "data": {
    "result": {
      "data": {
        "totalRealPayPrice": {
          "amount": 1260,
          "currency": "CNY"
        },
        "unavailableSkuList": [],
        "renderItemList": [
          {
            "nick": "zhulinws286",
            "itemPriceInfos": [
              {
                "itemId": 2048153758314474,
                "quantity": 1,
                "discountPrice": {
                  "amount": 2180,
                  "currency": "CNY"
                },
                "originPrice": {
                  "amount": 2180,
                  "currency": "CNY"
                },
                "skuId": 3357413213162
              }
            ],
            "sellerId": 172619986,
            "mainlandShippingFee": {
              "amount": 0,
              "currency": "CNY"
            },
            "orderFee": {
              "amount": 1480,
              "currency": "CNY"
            },
            "chooseSupplyChainServices": []
          }
        ]
      },
      "success": true
    },
    "code": "0",
    "requestId": "21412b5817231079530794815",
    "TraceId": "21410ddd17231079530752255e5d3b"
  },
  "timestamp": 1723107954115,
  "traceId": "c804971a0a0b"
}
Previous
Product Bunker interface(撞库)
Next
Create order
Built with