招商入驻-获取h5入驻链接
接口说明
招商入驻-获取h5入驻链接
使用限制
招商h5入驻链路使用
基本信息
| 名称 | 描述 |
|---|---|
| HTTP URL | https://open.douyin.com/goodlife/v1/entrance/h5/link/get/ |
| HTTP Method | POST |
| Scope | life.capacity.entrance.h5.link.get |
| 权限要求 | life.capacity.entrance.h5.link.get |
请求参数
请求头
access-token必填String
示例:clt.943da17996fb5cebfbc70c044c3fc25a57T54DcjT6HNKGqnUdxzy1KcxFnZ
content-type必填String
固定值"application/json"
Rpc-Transit-Life-AccountString
来客商户根账户ID
Body展开全部子属性
entrance_certStruct
入驻相关资质
展 开子属性
entrance_poiStruct
来客poi信息
展开子属性
external_merchant_idString
外部商户信息
phone_noString
来客登录/注册预填手机号
请求示例
curl --location --request POST 'https://open.douyin.com/goodlife/v1/entrance/h5/link/get/' \ --header 'content-type: application/json' \ --header 'access-token: 0801121846735352506a356a6' \ --data '{"external_merchant_id":"AsjLi4YN21","entrance_cert":{"entrance_subject_cert":{"uri":"YKXT9W58Nm"},"entrance_industry_cert_list":[{"uri":"mXXGXqeAZI","qual_type":"unAcoXNG1L","effective_date":"L70LWq3SJC"}]},"entrance_poi":{"poi_id":3761191782414207460},"phone_no":"UPj5eFjM2y"}'
响应参数
Body展开全部子属性
extra必填Struct
扩展信息
展开子属性
dataStruct
业务响应信息
展开子属性
响应示例
正常响应示例异常响应示例
{ "data": { "entrance_h5_link": "ogW1eGvIr7", "error_code": 0, "description": "" }, "extra": { "error_code": 0, "description": "", "sub_error_code": 0, "sub_description": "", "logid": "202501101202249CE38FABC0D1FFC0DA1B", "now": 1736481744 } }
错误码
| HTTP 状态码 | 错误码 | 错误码描述 | 排查建议 |
|---|---|---|---|
| 200 | 2100005 | 参数不合法 | 更换参数 |
| 200 | 2190002 | access_token无效 | 调用接口重新生成access_token |
| 200 | 2190004 | 应用未获得该能力, 请去https://open.douyin.com/申请 | 应用申请接口权限 |
| 200 | 5000001 | 服务器打 瞌睡了,请稍后再试。 | |
| 200 | 3000001 | 以实际错误信息为准 |
