stable本次发布有变化全部展示
来自 TikTok Shop 官方资料快照 ·
- 当前资料结构化阅读页
- 固定快照已留存,可追溯
- 官方原文可核对
资料正文
§1 Path: /affiliate_creator/202508/profiles
#§2 Method: [GET]
#§3 Function Description
This API gets the creator profile information.
§4 Common Parameters
For common parameters, refer to How to call TikTok Shop APIs - Common Parameters
| Properties | Location | Type | Require | Sample | Properties description |
|---|---|---|---|---|---|
| content-type | header | string | Y | application/json | Allowed type: application/json |
§5 Request Query Parameters
| Properties | Type | Require | Sample | Properties description |
|---|---|---|---|---|
| app_key | string | Y | 38abcd | Every single app will have a unique key. Please use the specific key assigned to your app. |
| sign | string | Y | 5361235029d141222525e303d742f9e38aea052d10896d3197ab9d6233730b8c | Signature generated by gen algorithm. When you send API requests to TTS, you must sign them so that TTS can identify the senders. |
| timestamp | int | Y | 1623812664 | Unix timestamp GMT (UTC+00:00). This timestamp is used across all API requests. Developers can use this convert to local time. |
§6 Request Sample
Query
https://open-api.tiktokglobalshop.com/affiliate_creator/202508/profiles?app_key=123abc&sign=5361235029d141222525e303d742f9e38aea052d10896d3197ab9d6233730b8c×tamp=1625484268
§7 Response Parameters
| Properties | Type | Sample | Properties description |
|---|---|---|---|
| code | int | 0 | The success or failure status code returned in API response. |
| message | string | Success | The success or failure messages returned in API response. Reasons of failure will be described in the message. |
| request_id | string | 202203070749000101890810281E8C70B7 | Request log |
| data | object | Specific return information | |
| ^avatar | object | Data associated with the TikTok creator's profile avatar. | |
| ^^width | int | 100 | The avatar image width in pixels. |
| ^^height | int | 100 | The avatar image height in pixels. |
| ^^url | string | https://p16-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/d76b8cc1b598de90ad5048df46e672b3~c5_100x100.webp?x-expires=1691895600&x-signature=oAT9KOL7aCN3Did9U%2FoKEsbBDj0%3D | The URL for the TikTok creator's avatar image file. |
| ^username | string | abc123 | The TikTok user name. |
| ^selection_region | string | US | The regions in which the creator is eligible to promote products in showcases, videos, and live streams. |
| ^register_region | string | US | The region in which the creator's TikTok account is registered. |
| ^seller_type | string | LOCAL | If the creator is also also has a TikTok Shop seller account, the seller type of the creator. This is an enumerated type with values: |
- CROSS_BORDER
- LOCAL | ^permissions |[]string |["LIVE_STREAM_PERMISSION","SELF_SALE_PERMISSION","ADD_AFFILIATE_PERMISSION"] |A list of product promotion permissions for the creator. The list can include zero or more of the following permissions:
- LIVE_STREAM_PERMISSION
- SELF_SALE_PERMISSION
- ADD_AFFILIATE_PERMISSION
- PHOTO_SHOPPABLE_PERMISSION_PRODUCT
- PHOTO_SHOPPABLE_PERMISSION_SHOP | ^user_type |string |TIKTOK_SHOP_OFFICIAL_ACCOUNT |The creator's user type. This is an enumerated type with values:
- TIKTOK_SHOP_OFFICIAL_ACCOUNT
- TIKTOK_MARKETING_ACCOUNT
- TIKTOK_SHOP_CREATOR | ^creator_user_open_id |string |uACafQAAAABmUU2qon4R0vUYvUVS3QC6CICP2m5A2-wd77j8R9G0yg |Creator Open ID. More details |
§8 Response Sample
{"code":0,"data":{"avatar":{"width":100,"height":100,"url":"https://p16-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/d76b8cc1b598de90ad5048df46e672b3~c5_100x100.webp?x-expires=1691895600\u0026x-signature=oAT9KOL7aCN3Did9U%2FoKEsbBDj0%3D"},"username":"abc123","selection_region":"US","register_region":"US","seller_type":"LOCAL","permissions":["LIVE_STREAM_PERMISSION","SELF_SALE_PERMISSION","ADD_AFFILIATE_PERMISSION"],"user_type":"TIKTOK_SHOP_OFFICIAL_ACCOUNT","creator_user_open_id":"uACafQAAAABmUU2qon4R0vUYvUVS3QC6CICP2m5A2-wd77j8R9G0yg"},"message":"Success","request_id":"202203070749000101890810281E8C70B7"}
§9 Error Code
For common error codes, refer to How to call TikTok Shop APIs - Common Error Code
| Code | Message |
|---|---|
| 16015006 | There is no selection region in this creator now. please contact the creator and ensure he has ec permission now. |
| 16015007 | no sale region error; detail: creator has no sale region. |
| 16501011 | user has no permission to access this api. please check the creator auth info. |
| 16504002 | query creator info failed.Please check creator ec permission is avaliable now |
| 36009002 | Too many requests. You've made too many requests in a short period of time. |
