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

Create an order

POST
/alibaba/ka/order/create

Request

Header Params

Body Params application/json

Example
{
    "flow": "string",
    "message": "string",
    "shopPromotionId": "string",
    "tradeType": "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"
        }
    ],
    "userId": "string",
    "staffName": "string",
    "outOrderId": "string",
    "developerId": 0,
    "platformOrder": 0,
    "dropshipping": "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' \
--header 'access-key;' \
--header 'nonce-str;' \
--header 'timestamp;' \
--header 'user-id;' \
--header 'signature;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "flow": "string",
    "message": "string",
    "shopPromotionId": "string",
    "tradeType": "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"
        }
    ],
    "userId": "string",
    "staffName": "string",
    "outOrderId": "string",
    "developerId": 0,
    "platformOrder": 0,
    "dropshipping": "string"
}'

Responses

🟢200成功
application/json
Body

Example
{
  "requestId": "",
  "code": 0,
  "developId": 0,
  "msg": "",
  "data": {
    "orderIds": [
      ""
    ]
  }
}
Modified at 2025-09-15 12:19:01
Previous
Order Preview (The preview interface needs to be called before creating an order)
Next
Get order details
Built with