Xportcn KA client
  1. Warehouse logistics
Xportcn KA client
  • English version
    • API Reference
      • Basics
        • Get user address information
        • Address added and updated
      • Warehouse logistics
        • Please refer to the estimated overseas freight
          POST
        • Order overseas freight preview
          POST
        • Create international logistics orders
          POST
        • Update domestic logistics information
          POST
      • KA
        • Interface description flowchart
        • AlibabaProduct
          • AlibabaProductKeywordsQuery
          • AlibabaProductImageQuery
          • AlibabaProductCategory
          • AlibabaProductDetail
          • AlibabaProductFreightEstimateGet
          • AlibabaProductPoolList
        • AlibabaOrderController
          • Order list
          • Order Preview (The preview interface needs to be called before creating an order)
          • Create an order
          • Get order details
      • wms
        • Package forecasting
        • package inbound
        • package update
    • Product Documentation
      • Announcement
      • Summarize
      • Beginner's guide
        • Become a developer
        • Obtain the Access Key and Access key
        • Start development
      • API tutorial
        • Development manual
        • Error code
      • Message service access
        • Message access manual
      • Account test
        • 1688 Test account
      • Q&A
        • Merchandise store search screening
  1. Warehouse logistics

Update domestic logistics information

POST
/open/pp/logistics/updateLogisticInfo

Request

Query Params

Body Params application/json

Example
{
    "orderId": "21",
    "tmallOrderId": "12345667",
    "logisticInfos": [
        {
            "lineItem": {
                "itemId": "2048020617114736",
                "skuId": "413185732720",
                "quantity": 1,
                "title": "这是商品1",
                "imageUrl": "url"
            },
            "logisticNumer": "FARJP2408000013YQ",
            "domesticLogisticInfo": [
                {
                    "logisticNumer": "SF1234521212678",
                    "logisticCompanyName": "顺丰",
                    "rtsTime": "1754342534"
                },
                {
                    "logisticNumer": "YT122323345678",
                    "logisticCompanyName": "圆通",
                    "rtsTime": "1754342534"
                }
            ]
        },
        {
            "lineItem": {
                "itemId": "2048232789087639",
                "skuId": "4970432383383",
                "quantity": 2,
                "title": "这是商品2",
                "imageUrl": "url"
            },
            "logisticNumer": "FARJP2408000014YQ",
            "domesticLogisticInfo": [
                {
                    "logisticNumer": "SF12345444111678",
                    "logisticCompanyName": "顺丰",
                    "rtsTime": "1754342534"
                }
            ]
        }
    ]
}

Request Code 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://www.xportcn.com/api/open/pp/logistics/updateLogisticInfo?timestamp&sign' \
--header 'Content-Type: application/json' \
--data-raw '{
    "orderId": "21",
    "tmallOrderId": "12345667",
    "logisticInfos": [
        {
            "lineItem": {
                "itemId": "2048020617114736",
                "skuId": "413185732720",
                "quantity": 1,
                "title": "这是商品1",
                "imageUrl": "url"
            },
            "logisticNumer": "FARJP2408000013YQ",
            "domesticLogisticInfo": [
                {
                    "logisticNumer": "SF1234521212678",
                    "logisticCompanyName": "顺丰",
                    "rtsTime": "1754342534"
                },
                {
                    "logisticNumer": "YT122323345678",
                    "logisticCompanyName": "圆通",
                    "rtsTime": "1754342534"
                }
            ]
        },
        {
            "lineItem": {
                "itemId": "2048232789087639",
                "skuId": "4970432383383",
                "quantity": 2,
                "title": "这是商品2",
                "imageUrl": "url"
            },
            "logisticNumer": "FARJP2408000014YQ",
            "domesticLogisticInfo": [
                {
                    "logisticNumer": "SF12345444111678",
                    "logisticCompanyName": "顺丰",
                    "rtsTime": "1754342534"
                }
            ]
        }
    ]
}'

Responses

🟢200成功
application/json
Body

Examples
{
    "errorCode": 200,
    "errorMsg": "",
    "success": true,
    "data": null
}
Modified at 2025-08-19 06:50:46
Previous
Create international logistics orders
Next
Interface description flowchart
Built with