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

Pre-order Preview

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

order-pre-order, error code#

Error CodeError DescriptionSolution
R500_001Commodity [offerId] does not support online trading and cannot place an order.The product does not support online transactions and cannot be purchased at this time.
R500_002The item [offerId] does not belong to the same seller or does not have a specId specified.Products with multiple sellers or without specId
R500_003The commodity [offerId] does not belong to the same seller or the specification [specId] does not belong to the commodity [offerId]The commodity with multiple sellers or the commodity does not have specId
R500_004Goods [offerId_specId] are out of stock, please check your stock and order.A specification of the item is out of stock
R500_005The purchase quantity of the item [offerId] does not meet the starting quantity limit.The purchase quantity of the item is less than the starting quantity
R500_006The purchase quantity or price of the commodity [offerId] does not meet the mixed batch limit. The quantity or total amount of goods purchased does not meet the mixed batch conditions.
R500_007The consignment relationship with the supplier does not exist, and orders cannot be placed through saleproxy channels.flow cannot use slproxy
R500_009The purchase quantity of the item [offerId] does not meet the batch lot limit.Check the purchase quantity of the goods sold in batches
R500_008product specifications [offerId_specId] price is 0, can not place an order, please check and resubmit.Check the price of the product specification

Request

Path Params

Header Params

Body Params application/json

Example
{
    "address": {
        "userName": "string",
        "phone": "string",
        "country": "string",
        "province": "string",
        "city": "string",
        "address": "string",
        "postCode": "string"
    },
    "cargoList": [
        {
            "supplierId": "string",
            "productId": 0,
            "skuId": "string",
            "quantity": 0
        }
    ]
}

Responses

🟢200OK
application/json
Body

Example
{
    "code": "",
    "msg": "",
    "data": {
        "previewId": "",
        "productTotalAmount": "",
        "freightTotalAmount": "",
        "serviceTotalAmount": "",
        "cargoList": [
            {
                "productId": 0,
                "skuId": "",
                "quantity": 0,
                "price": "",
                "amount": "",
                "productName": "",
                "skuAttributeNames": [
                    ""
                ]
            }
        ]
    },
    "requestId": ""
}
Previous
Commodity Pool Query
Next
Submit Order
Built with