Depal Open API Doc
  1. 订单服务
Depal Open API Doc
  • 中文
    • 接入说明
      • 基本概念
      • 签名规则
      • 获取Token
    • 商品服务
      • 1688
        • 商品详情
        • 商品池查询
    • 订单服务
      • 下单前预览
        POST
      • 提交订单
        POST
      • 订单详情
        POST
      • 取消订单
        POST
      • 物流跟踪查询
        POST
  • English
    • API Instruction
      • Signature Rule
      • Get Token
    • product service
      • alibaba wholesale(1688)
        • Commodity Details
        • Commodity Pool Query
    • Order Service
      • Pre-order Preview
      • Submit Order
      • Order Details
      • Cancel Order
      • Logistics tracking query
  1. 订单服务

提交订单

POST
/openapi/1/{appKey}/1688.order.create.order

Request

Path Params
appKey
string 
required
Header Params
Authorization
string 
optional
Default:
{{smile_admin_Authon}}
Example:
{{smile_admin_Authon}}
x-depal-timestamp
string 
required
timestamp when calling the service, milliseconds
x-depal-access-token
string 
required
retrieve from "system.token.get"
x-depal-signature
string 
required
sign the request data, refer to the signature document
Body Params application/json
outOrderId
string 
optional
外部订单号
address
object (AddressDTO) 
optional
收货地址信息
userName
string 
optional
收件人,全名
phone
string 
optional
联系电话, 带国家号
country
string 
optional
国家代码
province
string 
optional
省代码
city
string 
optional
城市代码
address
string 
optional
详细地址
postCode
string 
optional
邮编
cargoList
array[object (CargoItemParam) {3}] 
optional
购买的商品,sku,数量
productId
integer <int64>
optional
商品ID
skuId
string 
optional
sku唯一标识, 字符串
quantity
integer 
optional
库存数量
previewId
string 
optional
preview接口返回的id
Example
{
    "outOrderId": "string",
    "address": {
        "userName": "string",
        "phone": "string",
        "country": "string",
        "province": "string",
        "city": "string",
        "address": "string",
        "postCode": "string"
    },
    "cargoList": [
        {
            "productId": 0,
            "skuId": "string",
            "quantity": 0
        }
    ],
    "previewId": "string"
}

Responses

🟢200OK
application/json
Body
code
string 
optional
状态码
msg
string 
optional
信息
data
object (OrderCreateOrderResult) 
optional
数据
orderId
string 
optional
创建成功,订单号
requestId
string 
optional
请求ID,方便问题跟踪
Example
{
    "code": "",
    "msg": "",
    "data": {
        "orderId": ""
    },
    "requestId": ""
}
Previous
下单前预览
Next
订单详情
Built with