对象
Product 对象
平台商城里的一个商品:价格、销量、评分和店铺。 所有平台字段一致。平台不展示的字段为 null,meta.unavailable 会列出它和原因。
| 字段 | 类型 | 说明 |
|---|---|---|
id | string | 商品在商城里的 ID。 |
url | string | 商品页面。 |
title | string | 商品标题。 |
price | number | null | 现价(最低规格),单位见 currency。 |
original_price | number | null | 折前原价(有的话)。 |
currency | string | null | ISO 4217 货币代码。 |
sold | integer | null | 销量,以商城显示为准。 |
rating | number | null | 平均星级,0 到 5。 |
reviews | integer | null | 评价数。 |
images | string[] | null | 商品图片地址。 |
shop | ShopRef | 卖家店铺。 |
ext | object | 平台特有字段,只在 view=full 时返回。 · 仅 view=full |
ShopRef
| 字段 | 类型 | 说明 |
|---|---|---|
id | string | null | 店铺或商家 ID。 |
name | string | null | 店铺名。 |
url | string | null | 店铺页面。 |