PandaPon OpenAPI
Product documentsAPI reference
English
  • 简体中文
  • Tiếng Việt
  • Español
Product documentsAPI reference
English
  • 简体中文
  • Tiếng Việt
  • Español
Back to PandaPon Website
  1. Warehouse logistics
  • Taobao
    • Goods
      • Taobao commodity picture search interface
      • Taobao product search interface
      • Batch query goods according to Taobao commodity id
      • Query goods according to Taobao commodity id
      • Taobao commodity inquiry
    • Order
      • Create an order
      • Paging to query the order list
      • Upload the payment voucher
      • Cancel the order
      • Modify the pre-warehouse information of the order
      • Pay for the order
      • Get the IM link
      • Get the order details according to the order ID
      • Get logistics details
    • After-sales service
      • Reverse single list query
      • Reverse single rendering interface
      • Return logistics rendering
      • Return logistics submission
      • Reverse order cancellation
      • Submit a message in reverse
      • Reverse order submission
      • Reverse single message list query
      • Reverse order modification
      • Reverse single query
    • Message callback
      • Order price modification and callback
      • Order status modification callback
      • After-sales refund of orders
    • Shopping cart
      • Create an order
      • Generate an order preview
      • List of shopping carts
      • Delete the shopping cart products
      • Add a shopping cart
      • Edit the quantity of goods
  • 1688
    • Goods
      • Commodity details inquiry
      • Convert and decrypt to Wangwang URL
      • Commodity keyword query
      • Commodity picture search
      • Commodity store search
      • Query multilingual categories according to category ID
      • Product recommendation inquiry
      • Related commodity inquiry
    • Order
      • Developers submit and pay 1688 orders in bulk
      • Preview data before creating an order (batch different merchants)
      • Create orders (different merchants)
      • Obtain the logistics tracking information of the order
      • Order list paging query
      • Preview data before creating an order
      • Create an order
      • Cancel the order before payment
      • Order payment
      • The buyer confirms the receipt of goods
    • After-sales service
      • Check the details of the after-sales order
      • Check the reason for refund and return (used to create refund and return)
      • Upload the refund and return voucher
      • Create a refund and return application
      • The buyer submits the refund information
      • List of logistics companies - all logistics companies
    • Message callback
      • Order price modification and callback
      • Order status modification interface
      • After-sales refund of 1688 orders
    • Shopping cart
      • Create an order
      • Delete the shopping cart products
      • Preview the data interface before creating an order
      • Edit the quantity of goods
      • Add a shopping cart
      • List of shopping carts
    • Marketing
      • Global strict selection
      • 1688 Strict Selection
      • Hot selling list
  • Foundations
    • Get user address information
      POST
    • Address addition and update
      POST
  • Warehouse logistics
    • Detailed overseas freight estimate
      POST
    • Preview of overseas freight for orders
      POST
    • Update domestic logistics information
      POST
    • Create international logistics orders
      POST
  1. Warehouse logistics

Create international logistics orders

POST
/open/pp/logistics/orderBookingFreight

请求参数

Query 参数
timestamp
string 
必需
sign
string 
必需
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 '/open/pp/logistics/orderBookingFreight?timestamp&sign' \
--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-02-24 07:21:19
上一页
Update domestic logistics information
Built with