中文版
产品文档1688 APITaobao / Tmall APIPoizon API
产品文档1688 APITaobao / Tmall APIPoizon API
English
  1. Taobao / Tmall 订单管理
  • Taobao / Tmall 商品搜索
    • 上传图片
      POST
    • 图片搜索V1.0
      GET
    • 关键词搜索
      GET
    • 店铺搜索
      GET
    • 商品详情搜索
      GET
    • 榜单类型搜索
      GET
    • 榜单商品搜索
      GET
    • 商品运费查询
      POST
    • 图片搜索V2.0
      GET
    • 商品详情搜索-支持短链
      GET
  • Taobao / Tmall 订单管理
    • 撞库接口
      GET
    • 预览商品
      POST
    • 创建订单
      POST
    • 取消订单
      POST
    • 查询订单
      POST
  • Taobao / Tmall 订单支付
    • 支付订单
      POST
  • Taobao / Tmall 消息说明
    • 订单消息
    • 订单消息-签名验证
  1. Taobao / Tmall 订单管理

预览商品

POST
/taobao/purchase/order/render
预览商品接口,通过该接口可获得准确的价格与中国段运费,调用预览商品接口前,请先调用撞库接口(itemId使用mpId,skuId使用mpSkuid)。

请求参数

Body 参数application/json

示例
{
    "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}]"
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
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}]"
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "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": "2140d27417231084644394341",
        "TraceId": "2140cb3417231084644362884e5c80"
    },
    "timestamp": 1723108465539,
    "traceId": "c3602774b923"
}
修改于 2024-08-09 09:51:41
上一页
撞库接口
下一页
创建订单
Built with