Depal Open API Doc
  1. 1688
Depal Open API Doc
  • 中文
    • 接入说明
      • 基本概念
      • 签名规则
      • 获取Token
    • 商品服务
      • 1688
        • 商品详情
          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. 1688

商品池查询

POST
/openapi/1/{appKey}/1688.product.pool.query
可以根据当前页的记录数小于pageSize来判断,查询完毕

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
language
string 
required
需要联系Yato开通对应的语言
语言代码 https://baike.baidu.com/item/%E8%AF%AD%E8%A8%80%E4%BB%A3%E7%A0%81/6594123
en=英语
ru=俄语
ja=日语
vi=越南语
pageSize
integer 
optional
每页记录数
<= 10
currentPage
integer 
optional
当前页, 1,2,3
>= 1
poolId
integer <int64>
required
categoryId
integer <int64>
optional
类目ID
taskId
string 
required
查询任务ID,假如货盘有10000商品,每页1000个查询10次将10000商品查走,这10次都需要传同一个taskId
Example
{
    "language": "string",
    "pageSize": 10,
    "currentPage": 1,
    "poolId": 0,
    "categoryId": 0,
    "taskId": "string"
}

Responses

🟢200OK
application/json
Body
code
string 
optional
状态码
msg
string 
optional
信息
data
array[object (ProductPoolResult) {3}] 
optional
数据
productId
integer <int64>
optional
商品ID
categoryId
integer <int64>
optional
类目ID
poolTotal
integer <int64>
optional
商品池总数
(每个商品都返回, 可能为0)
requestId
string 
optional
请求ID,方便问题跟踪
Example
{
    "code": "",
    "msg": "",
    "data": {
        "totalRecords": 0,
        "totalPage": 0,
        "pageSize": 0,
        "currentPage": 0,
        "records": [
            {
                "productId": 0,
                "mainImageUrl": "",
                "title": "",
                "price": "",
                "quantity": 0,
                "repurchaseRate": "",
                "monthSold": 0,
                "tradeScore": "",
                "firstCategoryId": 0,
                "secondCategoryId": 0,
                "thirdCategoryId": 0
            }
        ]
    },
    "requestId": ""
}
Previous
商品详情
Next
下单前预览
Built with