推客带货 /推客推广商品获取 /获取某个推客某个商品的内嵌小程序商品卡片的推广参数 /
接口说明
可通过该接口,获取某个推客某个商品的内嵌商品卡片product_promotion_link,长期有效
接口调用请求说明
请求参数说明
参数 | 类型 | 是否必填 | 描述 |
sharer_appid | string | 否 | 推客 appid,和sharer_openid二选一 |
sharer_openid | string | 否 | 推客在小程序中的openid,和sharer_appid二选一 |
product_id | number | 否 | 商品 id,如果使用该参数,需要传入shop_appid |
shop_appid | string | 否 | 商品所属店铺 appid |
product_short_link | string | 否 | 商品短链,和 product_id 二选一 |
head_supplier_appid | string | 商品所属供货机构appid | |
请求参数示例
返回参数说明
参数 | 类型 | 描述 |
errcode | number | 错误码 |
errmsg | string | 错误信息 |
product_promotion_link | string | 内嵌商品卡片的推广参数 |
返回参数示例
错误码
错误码 | 错误描述 |
公共错误码 | - |
10024000 | 参数错误 |
The translations are provided by WeChat Translation and are for reference only. In case of any inconsistency and discrepancy between the Chinese version and the English version, the Chinese version shall prevail.Incorrect translation. Tap to report.