Xportcn KA client
  1. AlibabaOrderController
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
        • Order overseas freight preview
        • Create international logistics orders
        • Update domestic logistics information
      • KA
        • Interface description flowchart
        • AlibabaProduct
          • AlibabaProductKeywordsQuery
          • AlibabaProductImageQuery
          • AlibabaProductCategory
          • AlibabaProductDetail
          • AlibabaProductFreightEstimateGet
          • AlibabaProductPoolList
        • AlibabaOrderController
          • Order list
            POST
          • Order Preview (The preview interface needs to be called before creating an order)
            POST
          • Create an order
            POST
          • Get order details
            POST
      • 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. AlibabaOrderController

Order Preview (The preview interface needs to be called before creating an order)

POST
/alibaba/ka/order/create/preview

Request

Header Params

Body Params application/json

Example
{
    "aliId": "string",
    "flow": "string",
    "outOrderId": "string",
    "addressParam": {
        "fullName": "string",
        "mobile": "string",
        "phone": "string",
        "postCode": "string",
        "cityText": "string",
        "provinceText": "string",
        "areaText": "string",
        "townText": "string",
        "address": "string",
        "districtCode": "string"
    },
    "cargoParamList": [
        {
            "sellerOpenId": "string",
            "offerId": 0,
            "specId": "string",
            "quantity": 0,
            "productNo": "string",
            "container": "string"
        }
    ]
}

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/alibaba/ka/order/create/preview' \
--header 'access-key;' \
--header 'nonce-str;' \
--header 'timestamp;' \
--header 'user-id;' \
--header 'signature;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "aliId": "string",
    "flow": "string",
    "outOrderId": "string",
    "addressParam": {
        "fullName": "string",
        "mobile": "string",
        "phone": "string",
        "postCode": "string",
        "cityText": "string",
        "provinceText": "string",
        "areaText": "string",
        "townText": "string",
        "address": "string",
        "districtCode": "string"
    },
    "cargoParamList": [
        {
            "sellerOpenId": "string",
            "offerId": 0,
            "specId": "string",
            "quantity": 0,
            "productNo": "string",
            "container": "string"
        }
    ]
}'

Responses

🟢200成功
application/json
Body

Example
{
  "requestId": "",
  "code": 0,
  "developId": 0,
  "msg": "",
  "data": {
    "postFeeByDescOfferList": [
      0
    ],
    "consignOfferList": [
      0
    ],
    "unsupportedCrossBorderPayOfferList": [
      0
    ],
    "orderPreviewResuslt": [
      {
        "discountFee": 0,
        "tradeModeNameList": [
          ""
        ],
        "status": false,
        "taoSampleSinglePromotion": false,
        "sumPayment": 0,
        "message": "",
        "sumCarriage": 0,
        "resultCode": "",
        "sumPaymentNoCarriage": 0,
        "additionalFee": 0,
        "flowFlag": "",
        "cargoList": [
          {
            "amount": 0.0,
            "message": "",
            "finalUnitPrice": 0.0,
            "specId": "",
            "skuId": 0,
            "resultCode": "",
            "offerId": 0,
            "cargoPromotionList": [
              {
                "promotionId": "",
                "selected": false,
                "text": "",
                "desc": "",
                "freePostage": false,
                "discountFee": 0
              }
            ],
            "openOfferId": ""
          }
        ],
        "shopPromotionList": [
          {
            "promotionId": "",
            "selected": false,
            "text": "",
            "desc": "",
            "freePostage": false,
            "discountFee": 0
          }
        ],
        "tradeModelList": [
          {
            "tradeWay": "",
            "name": "",
            "tradeType": "",
            "description": "",
            "opSupport": false
          }
        ],
        "payChannelList": [
          {
            "channel": "",
            "avaliable": false
          }
        ],
        "payChannelInfos": [
          {
            "name": "",
            "amountLimit": 0
          }
        ]
      }
    ]
  }
}
Modified at 2025-09-15 12:16:02
Previous
Order list
Next
Create an order
Built with