商品详情
POST app/douYinGroup/product/detail
| 参数名称 | 参数类型 | 是否必须 | 示例值 | 参数描述 |
|---|---|---|---|---|
| product_id_list |
list |
是 |
[ 1796636629603354 ] |
商品id列表 |
| city_code | string | 否 | "11" |
注意:city_code、longitude、latitude 不会进行过滤数据,只会用来返回更精准的门店信息。如果附近没有门店 nearest_poi.distance为null
城市码。参见 抖音行政区划_231版本_poi 当传递了经纬度时,会依据经纬度查询所在城市。 其它情况,请必需传递city_code,依据场景尽量传递到城市级别即可,例如:天津为120000 |
| longitude | double | 否 | 116.11 |
经度。WGS84坐标,参见https://tool.lu/coordinate。默认为北京市王府井
重要:一定需要WGS84坐标,且线上场景必需传递该参数。如果获取不到或者无法传递,请咨询运营或技术 |
| latitude | double | 否 | 36.11 |
纬度。WGS84坐标,参见https://tool.lu/coordinate。默认为北京市王府井
重要:一定需要WGS84坐标,且线上场景必需传递该参数。如果获取不到或者无法传递,请咨询运营或技术 |
| 参数名称 | 参数类型 | 示例值 | 参数描述 | |
|---|---|---|---|---|
| data | product_map |
map |
||
|
Product
参见商品列表接口 |
nearest_poi | PoiInfo | 当前商品离用户最近的适用POI(如果用户没传经纬度,默认北京王府井) | |
| PoiInfo | name | string | 店铺名称 | |
| distance | double |
距离门店的距离
## 返回结果
值说明,就近门店判断示例:附近3km门店,distance != null and distance < 3000
|
||
| poi_id | int64 | 店铺id |