更新基础认证资质
开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
POST
https://developer.toutiao.com/auth/entity/update_basic_auth
接口说明
注意事项
基本信息
基本 | |
---|---|
HTTP URL | 正式环境:https://developer.toutiao.com/auth/entity/update_basic_auth 沙盒环境:https://open-sandbox.douyin.com/auth/entity/update_basic_auth |
HTTP Method | POST |
权限要求 | AccessToken鉴权 |
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://developer.toutiao.com/auth/entity/update_basic_auth' \
--header 'Aweme-Check-Type;' \
--header 'Content-Type: application/json' \
--data-raw '// 更新机构基础认证详情
{
"appid": "ttxxxxxxxx",
"access_token": "xxxxxxxx",
"partner_entity_id": "",
"merchant_entity_id": "E_7178703725253394476",
"entity_name": "泛知识机构六",
"enterprise": {
"certificate_id": "911120220831140392",
"certificate_materials": [
{
"material_type": 1007,
"material_expiretime": "2025-02-02",
"material_paths": [
"certification/resource/4c23f6490a4b65b1c537abdd765b1907"
]
}
],
"legal_person": {
"name": "刘成国",
"id_number": "210219195912106418",
"expire_time": "2027-03-03",
"front_path": "certification/resource/1f3ac1c1966a19d83e7607bfb3d38ce9",
"back_path": "certification/resource/11dd877fb32b439c4609f25f76ab05c1"
}
}
}
// 更新服务商基础认证详情
{
"appid": "ttxxxxxxxx",
"access_token": "xxxxxxxx",
"partner_entity_id": "",
"merchant_entity_id": "E_71787037252554e554",
"entity_name": "泛知识服务商",
"individual": {
"name": "",
"id_number": "",
"expire_time": "",
"front_path": "",
"back_path": ""
},
"enterprise": {
"certificate_id": "911120220831140392",
"certificate_materials": [
{
"material_type": 1007,
"material_expiretime": "2025-02-02",
"material_paths": [
"certification/resource/4c23f6490a4b65b1c537abdd765b1907"
]
}
],
"legal_person": {
"name": "刘成国",
"id_number": "210219195912106418",
"expire_time": "2027-03-03",
"front_path": "certification/resource/1f3ac1c1966a19d83e7607bfb3d38ce9",
"back_path": "certification/resource/11dd877fb32b439c4609f25f76ab05c1"
}
}
}
// 服务商代老师更新基础认证资质
{
"appid": "ttxxxxxxxx",
"access_token": "xxxxxxxx",
"partner_entity_id": "E_7178703725253394476",
"merchant_entity_id": "I_7179078906694139948",
"entity_name": "和俊波",
"individual": {
"name": "和俊波",
"id_number": "140581200007154233",
"expire_time": "2033-01-01",
"front_path": "certification/resource/78101ff50a2782ad9be8f72328f0ba81",
"back_path": "certification/resource/e288d79c9df794ce0c1660b460082918"
}
}'
响应示例响应示例
{
"basic_auth_taskid": "string",
"err": {
"err_code": 0,
"err_msg": "string"
}
}
请求参数
Header 参数
Content-Type
string
必需
Aweme-Check-Type
string
可选
Body 参数application/json