PandaPon OpenAPI
Product documentsAPI Reference
English
  • 中文简体
  • ภาษาไทย
Product documentsAPI Reference
English
  • 中文简体
  • ภาษาไทย
Back to PandaPon Website
  1. shopping cart
  • Taobao
    • goods
      • Taobao product search
      • Query products in bulk based on Taobao product IDs
      • Taobao commodity search interface
      • Taobao image search interface
    • order form
      • Taobao Order Creation
      • Taobao order paging query
      • Cancel Order
      • Modify the pre warehouse information of an order
      • Payment Order
      • Get IM Link
      • Get order details according to order ID
      • Get logistics details
    • shopping cart
      • Generate Order Preview
        POST
      • Create Order
        POST
      • Shopping Cart List
        GET
      • Delete Cart Item
        POST
      • Add Cart Item
        POST
      • Edit item quantity
        POST
    • After sales
      • Get the reverse order list interface
      • Reverse order rendering interface
      • Return logistics rendering
      • Return logistics submission
      • Reverse Order Cancellation
      • Submit reverse message
      • Reverse order submission
      • Query of message list
      • Reverse order modification
      • Detailed interface of reverse order
    • Message callback
      • Order price modification callback
      • Order status modification callback
      • Order after-sales refund
  • 1688
    • Goods
      • 1688 commodity details inquiry
      • 1688 Product keyword query
      • 1688 Product image search
      • 1688 multilingual store search
      • Query multilingual categories according to category ID
      • Product recommendation
      • Related product recommendation
      • Global strictly selected keyword query
      • 1688 Strictly select keyword query
      • Hot list query
    • shopping cart
      • Shopping Cart List
      • Add Shopping Cart Item
      • Delete Cart Item
      • Edit item quantity
      • Preview data interface before creating an order
      • Create Order
    • order form
      • Developers submit 1688 orders for payment in batch
      • Preview data interface before order creation (different merchants)
      • Create order interface in batch (different merchants)
      • Obtain logistics tracking information
      • Order List
      • Preview data interface before creating an order
      • Create Order Interface
      • Cancel order interface before payment
      • Order payment
      • Buyer confirms receipt
      • 1688 conversion and decryption to Wangwang nickname interface
    • After sales
      • 1688 Query the details of the refund form
      • 1688 Query refund return reason (used to create refund return)
      • 1688 Upload refund return voucher
      • 1688 Create refund return application
      • 1688 Buyer submits refund information
      • List of logistics companies - all logistics companies
    • Message callback
      • Order price modification callback
      • Order status modification interface
      • 1688 order after-sales refund
  • basis
    • Get user address information
      POST
    • Address addition and update
      POST
  • Warehouse logistics
    • Consult overseas freight estimate
      POST
    • Order overseas freight preview
      POST
    • Update domestic logistics information
      POST
    • Create international logistics order
      POST
  1. shopping cart

Generate Order Preview

POST
/v2/taobao/cart/confirm/order

请求参数

Header 参数
access-key
string 
必需
默认值:
58c0201dfdf148eca63cbf6bb5e7cf03
nonce-str
string 
可选
默认值:
nonce-str
timestamp
string 
必需
默认值:
1715669977082
user-id
string 
必需
默认值:
2100007341207
signature
string 
必需
默认值:
B7F83FE2ADC8D8F044F2E01F0FFE8C80
Body 参数application/json
ids
array[integer] | null 
购物车记录id
可选
orderAddress
object (OrderAddress) 
创建订单地址
可选
zip
string  | null 
邮编
可选
country
string  | null 
国家
可选
state
string  | null 
省份
可选
city
string  | null 
杭州市
可选
district
string  | null 
余杭区
可选
address
string  | null 
测试地址
可选
mobile_phone
string  | null 
手机号
可选
phone
string  | null 
手机号
可选
name
string  | null 
收件人
可选
userId
string  | null 
userId
可选
示例
{
    "ids":[382]
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/v2/taobao/cart/confirm/order' \
--header 'access-key;' \
--header 'nonce-str: nonce-str' \
--header 'timestamp;' \
--header 'user-id;' \
--header 'signature;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "ids":[382]
}'

返回响应

🟢200成功
application/json
Body
requestId
string 
请求ID
可选
code
integer 
返回码
可选
developId
integer 
开发者ID
可选
msg
string 
返回码对应信息
可选
data
object (PreviewOrderV2VO) 
返回内容
可选
totalRealPayPrice
object (TotalRealPayPrice) 
订单总计金额
可选
confirmOrders
array[object (CartConfirmOrderV2VO) {6}] 
可选
平台订单视图对象列表
示例
{
    "requestId": "bad0f30777674feda3dbd9a7cfddaec3",
    "code": 200,
    "developId": "1110890638347337996",
    "msg": "成功",
    "data": {
        "totalRealPayPrice": null,
        "confirmOrders": [
            {
                "shopId": 115037976,
                "shopName": "小淘男装服饰",
                "userNick": null,
                "mainlandShippingFee": {
                    "amount": "0",
                    "currency": "CNY"
                },
                "orderFee": {
                    "amount": "0",
                    "currency": "CNY"
                },
                "cartItemInfos": [
                    {
                        "id": 382,
                        "itemMapId": "WUnUC1cILiBjt-Jv3lDdlQ",
                        "skuId": "5032007803360",
                        "itemTitle": "2025新款休闲短袖衬衫男士夏季薄款韩版潮流半袖衬衣帅气寸衫上衣",
                        "itemPic": "https://img.alicdn.com/bao/uploaded/i1/2202282511/O1CN01f70KIV1UQ5HNQRt17_!!2202282511.jpg",
                        "mpId": "NeZYO6vIHuENAqbW6iWQb7dqmzNNcIX-IQGrQ53mhv0",
                        "mpSkuId": "7579055774996",
                        "price": 13900,
                        "promotionPrice": 3990,
                        "properties": "[{\"valueId\":553448787,\"valueName\":\"850浅灰\",\"propId\":1627207,\"propName\":\"颜色\"},{\"valueId\":28315,\"valueName\":\"M 80-105斤\",\"propId\":20509,\"propName\":\"尺码\"}]",
                        "quantity": 1,
                        "skuQuantity": 100001,
                        "userNick": null,
                        "priceRanges": null,
                        "quoteType": null,
                        "productNo": null
                    }
                ]
            }
        ]
    }
}
修改于 2025-04-25 03:56:46
上一页
Get logistics details
下一页
Create Order
Built with