基础地址: https://openapi.dajisaas.com
所有得物接口路径前缀均为/poizonV2/。
/poizonV2/* 接口前,请联系平台为你的 Access Key 开通得物权限。dwSpuTitle,英文关键词传 distSpuTitle。搜索结果同时返回中英文。{
"code": 200,
"message": "success",
"data": { },
"timestamp": 1756012800000,
"traceId": "a1b2c3d4e5f6",
"cost": 235
}| 字段 | 类型 | 说明 |
|---|---|---|
| code | integer | 200 表示成功 |
| message | string | 结果描述 |
| data | object | 业务数据 |
| timestamp | integer | 服务器时间戳,UTC 毫秒 |
| traceId | string | 链路 ID —— 反馈问题时请一并附上 |
| cost | integer | 服务器处理耗时,毫秒 |
msg(非 message),且没有 traceId:{ "code": 200, "msg": "success", "data": { }, "status": 200 }{
"type": "about:blank",
"title": "Bad Request",
"status": 400,
"detail": "40002:order not exist",
"instance": "/poizonV2/order/cancelOrder"
}| 字段 | 说明 |
|---|---|
| status | HTTP 状态码 |
| detail | 错误详情。参数错误格式为 字段:提示;得物业务错误为 错误码:提示,由得物透传 |
| instance | 被调用的接口路径 |
HTTP 2xx 且 code == 200 判定成功;收到 HTTP 400 时读取 detail。| 场景 | detail 示例 |
|---|---|
| 缺少必填参数 | requestId:requestId cannot be empty |
| Access Key 未开通得物 | site config not found |
| 签名失败 | sign verify fail |
| 得物业务错误 | 40002:order not exist |
| 预售余额不足 | 由得物透传,见 detail |
appKey。sign;appSecret 仅用于调试。POST 接口中 appKey / appSecret / sign 放在 JSON body 中(与 1688、淘宝接口一致)。GET /poizonV2/product/queryList| 名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| appKey | string | Y | 平台 appKey |
| appSecret | string | N | 密钥,仅用于调试。生产环境用 sign |
| startId | integer | N | 分页游标,从 0 开始 |
| pageSize | integer | N | 最大 50;推荐 20 以获得最佳结果 |
| dwSpuTitle | string | N | 中文关键词 |
| distSpuTitle | string | N | 英文关键词 |
| dwDesignerId | string | N | 款式 / 货号 |
| distBrandName | array[string] | N | 品牌名称,0–200 项 |
| distCategoryl1Name | array[string] | N | 一级类目,0–200 项 |
| distCategoryl2Name | array[string] | N | 二级类目,0–200 项 |
| distCategoryl3Name | array[string] | N | 三级类目,0–200 项 |
| distFitPeopleName | array[string] | N | 适用人群,0–200 项 |
| season | string | N | 季节 |
| distStatus | string | N | PRODUCT_ON = 在售,PRODUCT_OFF = 已下架 |
| modifyStartTime | integer | N | 修改起始时间,UTC 毫秒 |
| modifyEndTime | integer | N | 修改结束时间,UTC 毫秒 |
| querySku | boolean | N | 是否返回 SKU 信息 |
| language | string | N | 商品内容的响应语言,默认 en |
data —— data.total、data.spuList[] 含 dwSpuTitle / distSpuTitle / dwSpuId / image / baseImage / authPrice / 类目 / season / distStatus / sizeChart / modifyTime / createTime …。GET /poizonV2/product/queryDetail| 名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| appKey | string | Y | 平台 appKey |
| appSecret | string | N | 仅用于调试 |
| dwSpuId | integer | Y | 得物 SPU ID |
| distSpuId | string | N | 分销商 SPU ID |
| dwDesignerId | string | N | 款式 / 货号 |
| language | string | N | 商品内容的响应语言,默认 en |
data —— SPU 字段 + data.skuList[] 含 dwSkuId / minBidPrice / saleAttr[] / skuLink …。minBidPrice为当前最低报价,系统会自动回填 —— 无需额外调用报价接口。