PandaPon OpenAPI
Product documentsAPI Reference
English
  • 中文简体
  • ภาษาไทย
Product documentsAPI Reference
English
  • 中文简体
  • ภาษาไทย
Back to PandaPon Website
  1. order form
  • Taobao
    • goods
      • Taobao product search
      • Query products in bulk based on Taobao product IDs
      • Taobao commodity search interface
      • Taobao image search interface
    • order form
      • Taobao Order Creation
      • Taobao order paging query
      • Cancel Order
      • Modify the pre warehouse information of an order
      • Payment Order
      • Get IM Link
      • Get order details according to order ID
      • Get logistics details
    • shopping cart
      • Generate Order Preview
      • Create Order
      • Shopping Cart List
      • Delete Cart Item
      • Add Cart Item
      • Edit item quantity
    • After sales
      • Get the reverse order list interface
      • Reverse order rendering interface
      • Return logistics rendering
      • Return logistics submission
      • Reverse Order Cancellation
      • Submit reverse message
      • Reverse order submission
      • Query of message list
      • Reverse order modification
      • Detailed interface of reverse order
    • Message callback
      • Order price modification callback
      • Order status modification callback
      • Order after-sales refund
  • 1688
    • Goods
      • 1688 commodity details inquiry
      • 1688 Product keyword query
      • 1688 Product image search
      • 1688 multilingual store search
      • Query multilingual categories according to category ID
      • Product recommendation
      • Related product recommendation
      • Global strictly selected keyword query
      • 1688 Strictly select keyword query
      • Hot list query
    • shopping cart
      • Shopping Cart List
      • Add Shopping Cart Item
      • Delete Cart Item
      • Edit item quantity
      • Preview data interface before creating an order
      • Create Order
    • order form
      • Developers submit 1688 orders for payment in batch
        POST
      • Preview data interface before order creation (different merchants)
        POST
      • Create order interface in batch (different merchants)
        POST
      • Obtain logistics tracking information
        GET
      • Order List
        POST
      • Preview data interface before creating an order
        POST
      • Create Order Interface
        POST
      • Cancel order interface before payment
        POST
      • Order payment
        GET
      • Buyer confirms receipt
        POST
      • 1688 conversion and decryption to Wangwang nickname interface
        POST
    • After sales
      • 1688 Query the details of the refund form
      • 1688 Query refund return reason (used to create refund return)
      • 1688 Upload refund return voucher
      • 1688 Create refund return application
      • 1688 Buyer submits refund information
      • List of logistics companies - all logistics companies
    • Message callback
      • Order price modification callback
      • Order status modification interface
      • 1688 order after-sales refund
  • basis
    • Get user address information
      POST
    • Address addition and update
      POST
  • Warehouse logistics
    • Consult overseas freight estimate
      POST
    • Order overseas freight preview
      POST
    • Update domestic logistics information
      POST
    • Create international logistics order
      POST
  1. order form

Preview data interface before creating an order

POST
/v2/alibaba/order/create/preview

请求参数

Header 参数
access-key
string 
必需
默认值:
58c0201dfdf148eca63cbf6bb5e7cf03
nonce-str
string 
可选
默认值:
nonce-str
timestamp
string 
必需
默认值:
1715669977082
user-id
string 
必需
默认值:
2100007341207
signature
string 
必需
默认值:
B7F83FE2ADC8D8F044F2E01F0FFE8C80
Body 参数application/json
addressParam
object (FastAdress) 
收货地址信息
必需
fullName
string  | null 
可选
mobile
string  | null 
可选
phone
string  | null 
可选
postCode
string  | null 
可选
cityText
string  | null 
可选
provinceText
string  | null 
可选
areaText
string  | null 
可选
townText
string  | null 
可选
address
string  | null 
可选
districtCode
string  | null 
可选
cargoParamList
array[object (FastCargo) {3}] 
商品信息不能为空
必需
offerId
integer  | null 
可选
specId
string  | null 
可选
quantity
number  | null 
可选
示例
{
    "addressParam": {
        "fullName": "string",
        "mobile": "string",
        "phone": "string",
        "postCode": "string",
        "cityText": "string",
        "provinceText": "string",
        "areaText": "string",
        "townText": "string",
        "address": "string",
        "districtCode": "string"
    },
    "cargoParamList": [
        {
            "offerId": 0,
            "specId": "string",
            "quantity": 0
        }
    ]
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/v2/alibaba/order/create/preview' \
--header 'access-key;' \
--header 'nonce-str: nonce-str' \
--header 'timestamp;' \
--header 'user-id;' \
--header 'signature;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "addressParam": {
        "fullName": "string",
        "mobile": "string",
        "phone": "string",
        "postCode": "string",
        "cityText": "string",
        "provinceText": "string",
        "areaText": "string",
        "townText": "string",
        "address": "string",
        "districtCode": "string"
    },
    "cargoParamList": [
        {
            "offerId": 0,
            "specId": "string",
            "quantity": 0
        }
    ]
}'

返回响应

🟢200成功
application/json
Body
requestId
string 
请求ID
可选
code
integer 
返回码
可选
developId
integer 
开发者ID
可选
msg
string 
返回码对应信息
可选
data
object (AlibabaCreateOrderPreviewV2VO) 
返回内容
可选
postFeeByDescOfferList
array[integer]
运费说明的商品列表
可选
consignOfferList
array[integer]
代销商品列表
可选
unsupportedCrossBorderPayOfferList
array[integer]
可选
不支持跨境宝支付的商品列表
orderPreviewResuslt
array[object (AlibabaCreateOrderPreviewResultModel[]) {16}] 
可选
订单预览结果,过自动拆单会返回多个记录
示例
{
  "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-04-25 06:10:53
上一页
Order List
下一页
Create Order Interface
Built with