设置小程序跳转path
开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
POST
https://open.douyin.com/api/apps/trade/v2/toolkit/update_merchant_path
接口说明
使用限制
注意事项
请求示例
错误码
错误码 | 描述 | 排查建议 |
---|---|---|
28018006 | 当前小程序类型不匹配 | bind_biz_type传入有误 |
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://open.douyin.com/api/apps/trade/v2/toolkit/update_merchant_path' \
--header 'access-token;' \
--header 'content-type: application/json' \
--data-raw '{
"bind_biz_type": 0,
"account_id": "7241527302029314092",
"path_data_list": [
{
"path": "page/index/index/page/index/index",
"path_type": 3
}
]
}'
响应示例响应示例
{
"err_msg": "string",
"err_no": 0,
"log_id": "string"
}
请求参数
Header 参数
content-type
string
必需
access-token
string
必需
Body 参数application/json