同步门店账户
收藏
我的收藏接口说明
用于同步门店的账户信息,建立开发者使用门店的权限,同步结果请通过“任务结果查询接口”获取
基本信息
名称 | 描述 |
---|---|
HTTP URL | https://open.douyin.com/goodlife/v1/poi/poi/sync/ |
HTTP Method | POST |
Scope | life.capacity.poi.sync |
权限要求 | 同步门店户 |
请求参数
请求头
access-token必填String
示例:clt.943da17996fb5cebfbc70c044c3fc25a57T54DcjT6HNKGqnUdxzy1KcxFnZ
content-type必填String
固定值"application/json"
Body展开全部子属性
datas必填List
支持批量提交,单次请求数量<=200。
展开子属性
target_type必填Enum
目标类型,0=商家 1=服务商-品牌户 2=服务商-门店户
展开子属性
请求示例
curl --location --request POST '/goodlife/v1/poi/poi/sync/' \ --header 'content-type: application/json' \ --header 'access-token: 0801121846735352506a356a6' \ --data '{"datas":[{"industry":{"qualifications":[{"qualification_urls":["maTXbqlgZb"],"qualification_expiration":"WPL84jTFz7","qualification_type":8365673140366382576,"qualification_id":"3Ic2TjanpV"}],"major_industry_code":"C6JfneIl4z","minor_industry_codes":["YhU9Q4yjcX"]},"third_id":"CAPgkCzoDV","legal_person":{"id_card_front_url":"NSX4nLObj3","id_card_back_url":"rXbvjm5Wte","qualification_type":1681415689172509631,"use_ocr":false,"name":"hcABesIIWu","id_card_no":"bzTvItJeyy","id_card_expiration":"jJa81QTkno"},"poi_id":"LcQN5hu1eb","account_id":"mpcfv9y7gL","poi_claim_authorization":{"effective_time":"t7tAfzuZhr","urls":["jHZORRdUUW"]},"business_partnership":{"partner_account_type":1,"authorization":{"effective_time":"iNbrBFdJiY","app_ids":["aSAPzY0jWp"],"agreement":1,"id":"BoyljXf33V","urls":["SgS4tzaIYU"],"type":1,"expiration":"P5bQ0HPztW"}},"license":{"legal_person_name":"NTJXKpyg6H","expiration":"OU2lh1bJ8g","city":"eFXrJ7Wyz9","address":"ijvcuo60S6","license_id":"2Mc5CrHahn","province":"BigUrj0sax","use_ocr":false,"sales_range":"OJzTy5f6r6","license_urls":["fbU1WkKkbT"],"company_name":"Wbo24TZFJA","license_type":5716032415304843880},"owner":{"email":"3f3Bub5S4v","name":"dStSyYLapS","role":"goEmChwZoN","phone":"wfxn5dX9g2"}}],"target_type":1}'
响应参数
Body展开全部子属性
dataStruct
展开子属性
extraStruct
展开子属性
响应示例
正常响应示例异常响应示例
{ "extra": { "error_code": 0, "description": "", "sub_error_code": 0, "sub_description": "", "logid": "202412182350272CB0C405B10FFB376187", "now": 1734537030 }, "data": { "tasks": [ { "third_id": "HYMyVBW9Nw", "poi_id": "uiHko1ZErQ", "task_id": 968880520589665900, "account_id": "BEE0GI6jNR" } ], "error_code": 0, "description": "" } }
错误码
HTTP 状态码 | 错误码 | 错误码描述 | 排查建议 |
---|---|---|---|
200 | 2100001 | 未知错误 | 重试接口,重试3次仍报错联系抖音生活服务技术支持 |
200 | 2100004 | 系统繁忙,此时请开发者稍候再试 | 重试接口,重试3次仍报错联系抖音生活服务技术支持 |
200 | 2100005 | 参数不合法 | 更换参数 |
200 | 2190002 | access_token无效 | 调用接口重新生成access_token |
200 | 2190004 | 应用未获得该能力, 请去https://open.douyin.com/申请 | 应用申请接口权限 |
200 | 2190008 | access_token过期,请刷新或重新授权 | 规范token刷新机制,检查是否有测试环境在同步刷新token |
200 | 2119001 | 参数不合法 | 更换参数 |
200 | 2119002 | 系统繁忙,请稍候再试 | 重试 |
200 | 2119003 | 请求太过频繁,请稍后再试 | 重试 |
200 | 2119005 | 应用未获商家授权 | 联系合作商家在商家后台发起授权,并在服务商后台同意授权 |
200 | 3000001 | 根据实际业务错误返回 | 对照接口文档规范参数并重试 |
200 | 5000001 | 根据实际业务错误返回 | 联系抖音处理 |
200 | 5000001 | 服务器打瞌睡了,请稍后再试。 | |
200 | 3000001 | 以实际错误信息为准 |
点击纠错