1. Order
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
            POST
          • Preview data before order creation (batch for different merchants)
            POST
          • Create an order
            POST
          • Create an order (different merchants)
            POST
          • Cancel the order before payment
            POST
          • Order payment
            GET
          • Buyer confirms receipt of goods
            POST
          • Developers submit bulk payment 1688 orders
            POST
          • Get logistics tracking information for orders
            GET
          • Order list paging query
            POST
        • 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
          • Order Preview (The preview interface needs to be called before creating an order)
          • Create an order
          • Get order details
        • 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. Order

Preview data before order creation (batch for different merchants)

POST
/alibaba/order/create/previewbatch

请求参数

Header 参数

Body 参数application/json

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

返回响应

🟢200成功
application/json
Bodyapplication/json

示例
{
    "requestId": null,
    "code": 0,
    "developId": null,
    "msg": "string",
    "data": [
        {
            "orderPreviewResuslt": [
                {
                    "discountFee": null,
                    "tradeModeNameList": [
                        "string"
                    ],
                    "status": true,
                    "taoSampleSinglePromotion": true,
                    "sumPayment": 0,
                    "message": null,
                    "sumCarriage": 0,
                    "resultCode": null,
                    "sumPaymentNoCarriage": 0,
                    "additionalFee": null,
                    "flowFlag": "string",
                    "cargoList": [
                        {
                            "amount": 0,
                            "message": null,
                            "finalUnitPrice": 0,
                            "specId": "string",
                            "skuId": 0,
                            "resultCode": null,
                            "offerId": 0,
                            "cargoPromotionList": [
                                {
                                    "promotionId": "string",
                                    "selected": true,
                                    "text": "string",
                                    "desc": "string",
                                    "freePostage": true,
                                    "discountFee": 0
                                }
                            ]
                        }
                    ],
                    "shopPromotionList": [
                        {
                            "promotionId": "string",
                            "selected": true,
                            "text": "string",
                            "desc": "string",
                            "freePostage": true,
                            "discountFee": 0
                        }
                    ],
                    "tradeModelList": [
                        {
                            "tradeWay": null,
                            "name": "string",
                            "tradeType": "string",
                            "description": "string",
                            "opSupport": true
                        }
                    ]
                }
            ],
            "sellerOpenId": "string",
            "success": true,
            "errorCode": null,
            "errorMsg": null,
            "postFeeByDescOfferList": null,
            "consignOfferList": null,
            "unsupportedCrossBorderPayOfferList": [
                "string"
            ]
        }
    ]
}
修改于 2024-08-16 03:42:17
上一页
Preview the data before creating the order
下一页
Create an order
Built with