PandaPon OpenAPI
Product documentsAPI Reference
English
  • 中文简体
  • ภาษาไทย
Product documentsAPI Reference
English
  • 中文简体
  • ภาษาไทย
Back to PandaPon Website
  1. Warehouse logistics
  • 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
      • Create Order
      • Shopping Cart List
      • Delete Cart Item
      • Add Cart Item
      • Edit item quantity
    • 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. Warehouse logistics

Create international logistics order

POST
/v2/open/pp/logistics/orderBookingFreight

请求参数

Query 参数
timestamp
string 
必需
sign
string 
必需
Header 参数
nonce-str
string 
可选
默认值:
nonce-str
Body 参数application/json
renderId
string  | null 
可选
receiverAddress
object (ReceiverAddressTO) 
可选
name
string  | null 
可选
email
string  | null 
可选
phone
string  | null 
可选
mobilePhone
string  | null 
可选
address
string  | null 
可选
taxId
string  | null 
可选
country
string  | null 
可选
city
string  | null 
可选
zip
string  | null 
可选
state
string  | null 
可选
lineItems
array [object {8}]  | null 
可选
itemId
string  | null 
可选
skuId
string  | null 
可选
quantity
integer  | null 
可选
title
string  | null 
可选
imageUrl
string  | null 
可选
freightInfo
object (FreightInfoTO) 
可选
currency
string  | null 
可选
price
string  | null 
可选
tmallOrderInfo
object (TmallOrderInfoTO) 
可选
tmallOrderId
string  | null 
可选
remark
string  | null 
可选
示例
{
    "renderId": "FF2024080200007",
    "tmallOrderInfo": {
        "tmallOrderId": "123123444"
    },
    "receiverAddress": {
        "country": "US",
        "state": "California",
        "city": "VALLEY VLG",
        "zip": "91607",
        "address": "5818 WHITSETT AVE 401",
        "name": "Ofir Birinbaum",
        "phone": "5083326888",
        "mobilePhone": "5083326888",
        "email": "1229220680@qq.com"
    },
    "lineItems": [
        {
            "itemId": "2048020617114736",
            "skuId": "413185732720",
            "quantity": 1,
            "title": "这是商品1",
            "imageUrl":"url",
            "freightInfo": {
                "serviceId": "1",
                "companyName": "",
                "serviceCategory": ""
            }
        },
        {
            "itemId": "2048232789087639",
            "skuId": "4970432383383",
            "quantity": 2,
            "title": "这是商品2",
            "imageUrl":"url",
            "freightInfo": {
                "serviceId": "2",
                "companyName": "",
                "serviceCategory": ""
            }
        }
    ]
}

示例代码

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/open/pp/logistics/orderBookingFreight?timestamp&sign' \
--header 'nonce-str: nonce-str' \
--header 'Content-Type: application/json' \
--data-raw '{
    "renderId": "FF2024080200007",
    "tmallOrderInfo": {
        "tmallOrderId": "123123444"
    },
    "receiverAddress": {
        "country": "US",
        "state": "California",
        "city": "VALLEY VLG",
        "zip": "91607",
        "address": "5818 WHITSETT AVE 401",
        "name": "Ofir Birinbaum",
        "phone": "5083326888",
        "mobilePhone": "5083326888",
        "email": "1229220680@qq.com"
    },
    "lineItems": [
        {
            "itemId": "2048020617114736",
            "skuId": "413185732720",
            "quantity": 1,
            "title": "这是商品1",
            "imageUrl":"url",
            "freightInfo": {
                "serviceId": "1",
                "companyName": "",
                "serviceCategory": ""
            }
        },
        {
            "itemId": "2048232789087639",
            "skuId": "4970432383383",
            "quantity": 2,
            "title": "这是商品2",
            "imageUrl":"url",
            "freightInfo": {
                "serviceId": "2",
                "companyName": "",
                "serviceCategory": ""
            }
        }
    ]
}'

返回响应

🟢200成功
application/json
Body
errorCode
integer  | null 
返回码
可选
errorMsg
string  | null 
返回码对应信息
可选
success
boolean  | null 
可选
data
object (OrderBookingFreightResult) 
返回内容
可选
orderId
string  | null 
可选
orderFee
object (FeeTO) 
可选
subOrders
array[object (FreightSubOrderTO) {2}]  | null 
可选
示例
{
    "errorCode": 200,
    "errorMsg": null,
    "success": true,
    "data": {
        "orderId": "21",
        "orderFee": {
            "amount": "322.92",
            "currency": "USD"
        },
        "subOrders": [
            {
                "itemInfos": [
                    {
                        "itemId": "2048020617114736",
                        "skuId": "413185732720",
                        "quantity": 1,
                        "title": "这是商品1"
                    }
                ],
                "internationalLogisticInfos": {
                    "logisticNumer": "FARJP2408000013YQ",
                    "logisticCompanyName": "UCS",
                    "trackingUrl": "https://www.far800.com/logistics/result?key=FARJP2408000013YQ",
                    "logisticType": "UCS"
                }
            },
            {
                "itemInfos": [
                    {
                        "itemId": "2048232789087639",
                        "skuId": "4970432383383",
                        "quantity": 2,
                        "title": "这是商品2"
                    }
                ],
                "internationalLogisticInfos": {
                    "logisticNumer": "FARJP2408000014YQ",
                    "logisticCompanyName": "UCS",
                    "trackingUrl": "https://www.far800.com/logistics/result?key=FARJP2408000014YQ",
                    "logisticType": "UCS"
                }
            }
        ]
    }
}
修改于 2025-04-25 06:18:37
上一页
Update domestic logistics information
Built with