PandaPon OpenAPI
Product documentsAPI reference
English
  • 简体中文
  • Tiếng Việt
  • Español
Product documentsAPI reference
English
  • 简体中文
  • Tiếng Việt
  • Español
Back to PandaPon Website
  1. Order
  • Taobao
    • Goods
      • Taobao commodity picture search interface
      • Taobao product search interface
      • Batch query goods according to Taobao commodity id
      • Query goods according to Taobao commodity id
      • Taobao commodity inquiry
    • Order
      • Create an order
      • Paging to query the order list
      • Upload the payment voucher
      • Cancel the order
      • Modify the pre-warehouse information of the order
      • Pay for the order
      • Get the IM link
      • Get the order details according to the order ID
      • Get logistics details
    • After-sales service
      • Reverse single list query
      • Reverse single rendering interface
      • Return logistics rendering
      • Return logistics submission
      • Reverse order cancellation
      • Submit a message in reverse
      • Reverse order submission
      • Reverse single message list query
      • Reverse order modification
      • Reverse single query
    • Message callback
      • Order price modification and callback
      • Order status modification callback
      • After-sales refund of orders
    • Shopping cart
      • Create an order
      • Generate an order preview
      • List of shopping carts
      • Delete the shopping cart products
      • Add a shopping cart
      • Edit the quantity of goods
  • 1688
    • Goods
      • Commodity details inquiry
      • Convert and decrypt to Wangwang URL
      • Commodity keyword query
      • Commodity picture search
      • Commodity store search
      • Query multilingual categories according to category ID
      • Product recommendation inquiry
      • Related commodity inquiry
    • Order
      • Developers submit and pay 1688 orders in bulk
        POST
      • Preview data before creating an order (batch different merchants)
        POST
      • Create orders (different merchants)
        POST
      • Obtain the logistics tracking information of the order
        GET
      • Order list paging query
        POST
      • Preview data before creating an order
        POST
      • Create an order
        POST
      • Cancel the order before payment
        POST
      • Order payment
        GET
      • The buyer confirms the receipt of goods
        POST
    • After-sales service
      • Check the details of the after-sales order
      • Check the reason for refund and return (used to create refund and return)
      • Upload the refund and return voucher
      • Create a refund and return application
      • The buyer submits the refund information
      • List of logistics companies - all logistics companies
    • Message callback
      • Order price modification and callback
      • Order status modification interface
      • After-sales refund of 1688 orders
    • Shopping cart
      • Create an order
      • Delete the shopping cart products
      • Preview the data interface before creating an order
      • Edit the quantity of goods
      • Add a shopping cart
      • List of shopping carts
    • Marketing
      • Global strict selection
      • 1688 Strict Selection
      • Hot selling list
  • Foundations
    • Get user address information
      POST
    • Address addition and update
      POST
  • Warehouse logistics
    • Detailed overseas freight estimate
      POST
    • Preview of overseas freight for orders
      POST
    • Update domestic logistics information
      POST
    • Create international logistics orders
      POST
  1. Order

Create orders (different merchants)

POST
/alibaba/order/batch/create
订单

请求参数

Header 参数
access-key
string 
必需
默认值:
58c0201dfdf148eca63cbf6bb5e7cf03
nonce-str
string 
可选
默认值:
nonce-str
timestamp
string 
必需
默认值:
1715669977082
user-id
string 
必需
默认值:
2100007341207
signature
string 
必需
默认值:
B7F83FE2ADC8D8F044F2E01F0FFE8C80
Body 参数application/json
flow
string  | null 
可选
订单类型 general(创建大市场订单),fenxiao(创建分销订单),saleproxy流程将校验分销关系,paired(火拼下单),boutiquefenxiao(精选货源分销价下单,采购量1个使用包邮), boutiquepifa(精选货源批发价下单,采购量大于2使用).
message
string  | null 
订单备注
可选
shopPromotionId
string  | null 
可选
店铺优惠ID,通过“创建订单前预览数据接口”获得。为空默认使用默认优惠
tradeType
string  | null 
可选
由于不同的商品支持的交易方式不同,没有一种交易方式是全局通用的,所以当前下单可使用的交易方式必须通过下单预览接口的tradeModeNameList获取。交易方式类型说明:fxassure(交易4.0通用担保交易),alipay(大市场通用的支付宝担保交易(目前在做切流,后续会下掉)),period(普通账期交易), assure(大买家企业采购询报价下单时需要使用的担保交易流程), creditBuy(诚E赊),bank(银行转账),631staged(631分阶段付款),37staged(37分阶段);此字段不传则系统默认会选取一个可用的交易方式下单,如果开通了诚E赊默认是creditBuy(诚E赊),未开通诚E赊默认使用的方式是支付宝担宝交易
addressParam
object 
收货地址信息
可选
fullName
string 
收货人姓名
必需
mobile
string 
手机号
必需
phone
string 
电话
必需
postCode
string 
邮编
必需
cityText
string 
市文本
必需
provinceText
string 
省份文本
必需
areaText
string 
区文本
必需
townText
string 
镇文本
必需
address
string 
街道地址
必需
cargoParamList
array [object {4}] 
商品信息不能为空
必需
offerId
integer 
商品id
必需
specId
string 
商品规格id
必需
quantity
number 
必需
商品数量(计算金额用)
sellerOpenId
string 
商家ID
必需
示例
{
    "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"
    },
    "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 --request POST '/alibaba/order/batch/create' \
--header 'access-key;' \
--header 'nonce-str: 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"
    },
    "cargoParamList": [
        {
            "offerId": 0,
            "specId": "string",
            "quantity": 0,
            "sellerOpenId": "string"
        }
    ]
}'

返回响应

🟢200成功
application/json
Body
requestId
string  | null 
请求ID
可选
code
integer  | null 
返回码
可选
developId
integer  | null 
开发者ID
可选
msg
string  | null 
返回码对应信息
可选
data
array [object {16}] 
返回内容
可选
guaranteesTerms
object 
保障条款
可选
nativeLogistics
object 
可选
productItems
array [object {35}]  | null 
商品条目信息
可选
tradeTerms
array [object {10}]  | null 
交易条款
可选
extAttributes
array [object {3}]  | null 
订单扩展属性
可选
orderRateInfo
object 
订单评价信息
可选
orderInvoiceInfo
object 
发票信息
可选
customs
object 
跨境报关信息
可选
overseasExtraAddress
object 
跨境地址扩展信息
可选
baseInfo
object 
订单基础信息
可选
orderBizInfo
object 
订单业务信息
可选
quoteList
array [object {3}]  | null 
可选
采购单详情列表,为大企业采购订单独有域
success
boolean 
是否成功
必需
sellerOpenId
string 
商家ID
必需
errorCode
string 
错误码
必需
errorMsg
string 
错误信息
必需
示例
{
    "requestId": "",
    "code": 0,
    "developId": 0,
    "msg": "",
    "data": {}
}
修改于 2025-02-24 07:11:28
上一页
Preview data before creating an order (batch different merchants)
下一页
Obtain the logistics tracking information of the order
Built with