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
            POST
          • purchase order cancel
            POST
          • purchase order pay
            POST
          • purchase order render
            POST
          • purchase order create V2
            POST
          • purchase order render v2
            POST
          • purchase order create
            POST
          • Query the order list by page
            GET
          • Upload payment voucher
            POST
          • Cancel an order
            POST
          • Modify order advance information
            POST
          • Pay an order
            POST
          • Get IM link
            POST
          • Get order details based on the order ID
            GET
          • Get logistics details
            GET
        • 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
          • 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

purchase order create

将废弃
POST
/open/order

请求参数

Header 参数

Body 参数application/json

示例
{
  "purchaseAmount": 400,
  "receiver": "{\"zip\":\"11111\",\"country\":\"中国\",\"address\":\"测试地址\",\"city\":\"杭州市\",\"phone\":\"\",\"mobile_phone\":\"15068763421\",\"district\":\"余杭区\",\"name\":\"a测试aa\",\"state\":\"浙江省\"}",
  "orderLineList": "[{\"itemId\":\"600126245031041190\",\"orderLineNo\":\"1\",\"quantity\":\"200\",\"price\":\"1\",\"currency\":\"CNY\",\"skuId\":\"5016042822039\"},{\"itemId\":\"600129202197070073\",\"orderLineNo\":\"1\",\"quantity\":\"200\",\"price\":\"1\",\"currency\":\"CNY\",\"skuId\":\"4860968496626\"}]",
  "orderSource": "lazada",
  "sellerOrderNumber": "1"
}

请求示例代码

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/open/order' \
--header 'access-key;' \
--header 'nonce-str;' \
--header 'timestamp;' \
--header 'user-id;' \
--header 'signature;' \
--header 'Content-Type: application/json' \
--data '{
  "purchaseAmount": 400,
  "receiver": "{\"zip\":\"11111\",\"country\":\"中国\",\"address\":\"测试地址\",\"city\":\"杭州市\",\"phone\":\"\",\"mobile_phone\":\"15068763421\",\"district\":\"余杭区\",\"name\":\"a测试aa\",\"state\":\"浙江省\"}",
  "orderLineList": "[{\"itemId\":\"600126245031041190\",\"orderLineNo\":\"1\",\"quantity\":\"200\",\"price\":\"1\",\"currency\":\"CNY\",\"skuId\":\"5016042822039\"},{\"itemId\":\"600129202197070073\",\"orderLineNo\":\"1\",\"quantity\":\"200\",\"price\":\"1\",\"currency\":\"CNY\",\"skuId\":\"4860968496626\"}]",
  "orderSource": "lazada",
  "sellerOrderNumber": "1"
}'

返回响应

🟢200OK
application/json
Bodyapplication/json

示例
{
    "requestId": "1b69692da4b34920bcd594048c8bdcfc",
    "code": 200,
    "developId": "1028257583384757029",
    "msg": "成功",
    "data": {
        "id": "1031992847890383164",
        "orderNo": "1031992847781331418",
        "subOrderVOS": [
            {
                "subOrderId": "1031992851828834889",
                "orderNo": "1031992847781331418",
                "quantity": 1,
                "title": null,
                "purchaseCurrency": null,
                "purchaseAmount": null,
                "itemId": "600086815456800431",
                "domesticPostFee": null,
                "closeReason": null,
                "skuId": "4766078803304",
                "status": null,
                "taobaoPurchaseId": "200027842447",
                "taobaoSubPurchaseId": "200027842448",
                "errorCode": null,
                "errorMessage": null
            }
        ],
        "createTime": "2023-10-18 18:11:08"
    }
}
修改于 2026-06-26 12:00:11
上一页
purchase order render v2
下一页
Query the order list by page
Built with