1. AlibabaMajorClientOrderController
Xportcn OpenAPI EN
  • English version
    • API Reference
      • Taobao
        • Product
          • Taobao Hot product recommendation
          • Taobao Spus list query interface
          • Taobao Spus Details Query Interface
          • Taobao Product Detail V2
          • Taobao product search API
          • Taobao product image search API
          • Batch query products according to Taobao product id
          • Query product by Taobao product ID
          • Taobao product inquiry
        • Order
          • purchase order page list
          • purchase order cancel
          • purchase order pay
          • purchase order render
          • purchase order create V2
          • purchase order render v2
          • purchase order create
          • Query the order list by page
          • Upload payment voucher
          • Cancel an order
          • Modify order advance information
          • Pay an order
          • Get IM link
          • Get order details based on the order ID
          • Get logistics details
        • After-sale
          • After-sale single-column table query
          • After-sale order rendering interface
          • Return logistics rendering
          • Return logistics submission
          • After-sale order cancellation
          • Submit After-sale order message
          • After-sale order submission
          • After-sale order message list query
          • After-sale order modification
          • After-sale simple query
        • Message callback
          • Order price correction
          • Order status modification callback
          • Order after-sales refund
        • Shopping cart
          • Shopping cart list
          • Add to shopping cart
          • Delete shopping cart item
          • Edit product quantity
          • Generate order preview
          • Create order
      • 1688
        • Product
          • category get
          • Product details query
          • Convert decryption to Wang Wang URL
          • Product keyword query
          • Product image search
          • Shop search
        • Order
          • Preview the data before creating the order
          • Preview data before order creation (batch for different merchants)
          • Create an order
          • Create an order (different merchants)
          • Cancel the order before payment
          • Order payment
          • Buyer confirms receipt of goods
          • Developers submit bulk payment 1688 orders
          • Get logistics tracking information for orders
          • Order list paging query
        • After-sale
          • Find the reason for a refund return (to create a refund return)
          • Upload refund receipt
          • Create a refund return request
          • Buyer submits refund information
          • List of logistics companies - All logistics companies
          • Query the details of the after-sales order
        • Message callback
          • Order price correction
          • Order status modification interface
          • 1688 order after sale refund
        • Shopping cart
          • Shopping cart list
          • Add shopping cart
          • Delete shopping cart items
          • Edit quantity of goods
          • Preview the data interface before creating the order
          • Create an order
      • 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
      • InternationalAlibaba
        • Product
          • productDetailGet
          • productList
        • Order
          • GetOrderList
          • CreateOrder
      • bigMajor
        • 1688BigMajorProduct
          • 1688BigMajorProductDetail
        • AlibabaMajorClientOrderController
          • 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
        • WarehouseCallbackController
          • 包裹入库回调
      • Poizon
        • Product
          • keyword serch
          • product detail
        • Order
          • PayOrder
          • OrderList
          • CreateOrder
          • OrderPreview
    • 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. AlibabaMajorClientOrderController

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

POST
/alibaba/majorClient/order/create/preview

请求参数

Header 参数

Body 参数application/json

示例
{
    "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"
        }
    ]
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location 'https://www.xportcn.com/api/alibaba/majorClient/order/create/preview' \
--header 'access-key;' \
--header 'nonce-str;' \
--header 'timestamp;' \
--header 'user-id;' \
--header 'signature;' \
--header 'Content-Type: application/json' \
--data '{
    "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"
        }
    ]
}'

返回响应

🟢200成功
application/json
Bodyapplication/json

示例
{
  "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
          }
        ]
      }
    ]
  }
}
修改于 2025-08-19 02:35:12
上一页
Order list
下一页
Create an order
Built with