- 授权
- 商品
- 地址
- 价格
- 库存
- 订单
- 售后
- 物流
- 发票
- 类目
- 员工
4.9 商品附属信息查询
GET
/api/v2/product/extra
Product
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
product_id
string
商品编号
>= 0 字符<= 11 字符
示例值:
P0000001608
province
string
省
>= 0 字符<= 20 字符
示例值:
广东省
city
string
市
>= 0 字符<= 20 字符
示例值:
深圳市
county
string
区
>= 0 字符<= 20 字符
示例值:
南山区
Header 参数
channel
string
可选
默认值:
benlai
shopId
string
商城id
默认值:
123
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://open-agent-branch.benlai.com/api/v2/product/extra?product_id=P0000001608&province=广东省&city=深圳市&county=南山区' \
--header 'channel: benlai' \
--header 'shopId: 123'
返回响应
🟢200成功
text/plain
Body
product_id
string
商品id
presale
boolean
是否预售
presale_tips
string
预售商品提示信息
origin_shipment
boolean
产地发货
delivery_parttern
enum<string>
配送方式
COLD:冷链配
枚举值:
ROOM_TEMPERATURECOLD
示例值:
NOT_NOREASON_RETURN
return_policy
enum<string>
退货条款类型
NOT_NOREASON_RETURN 不支持7天无理由退货
YES_NOREASON_RETURN 支持7天无理由退货
枚举值:
None NOT_NOREASON_RETURNYES_NOREASON_RETURN
示例值:
NOT_NOREASON_RETURN
qc_images
array[object (Benlai.Open.Models.Product.ImageModuleDto) {2}]
质检报告图
title
string
模块标题
images
array[object (Benlai.Open.Models.Product.ReportImageDto) {2}]
图片信息
示例
{
"code": 0,
"msg": "",
"value": {
"product_id": "P0000034765",
"presale": false,
"presale_tips": "",
"origin_shipment": false,
"delivery_parttern": "COLD",
"return_policy": "NOT_NOREASON_RETURN",
"qc_images": [
{
"title": "报告1",
"images": [
{
"thumbnail": "https://image3.benlailife.com/6f1310f1-61bb-4f8f-8977-6c51110dfe88",
"url": "https://image3.benlailife.com/6f1310f1-61bb-4f8f-8977-6c51110dfe88"
}
]
},
{
"title": "报告2",
"images": [
{
"thumbnail": "https://image1.benlailife.com/77e66b69-d378-4b9e-9f31-8cb08490ccff",
"url": "https://image1.benlailife.com/77e66b69-d378-4b9e-9f31-8cb08490ccff"
},
{
"thumbnail": "https://image1.benlailife.com/7db43df6-890f-446f-b46a-f3b155fff4f1",
"url": "https://image1.benlailife.com/7db43df6-890f-446f-b46a-f3b155fff4f1"
},
{
"thumbnail": "https://image1.benlailife.com/f5ee3397-cf5f-4b33-b813-b09ebffd11c1",
"url": "https://image1.benlailife.com/f5ee3397-cf5f-4b33-b813-b09ebffd11c1"
}
]
},
{
"title": "报告3",
"images": [
{
"thumbnail": "https://image1.benlailife.com/77e66b69-d378-4b9e-9f31-8cb08490ccff",
"url": "https://image1.benlailife.com/77e66b69-d378-4b9e-9f31-8cb08490ccff"
},
{
"thumbnail": "https://image1.benlailife.com/0e1859aa-27bb-4051-9a0e-4c3ca735d1c9",
"url": "https://image1.benlailife.com/0e1859aa-27bb-4051-9a0e-4c3ca735d1c9"
},
{
"thumbnail": "https://image.benlailife.com/1d610f13-3e8e-4821-83fb-c1b660c1106b",
"url": "https://image.benlailife.com/1d610f13-3e8e-4821-83fb-c1b660c1106b"
}
]
}
]
}
}