创建客户标签
开发环境
开发环境
POST
/v1.3/custom_tags/add
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/v1.3/custom_tags/add' \
--header 'access_token;' \
--header 'timestamp;' \
--header 'nonce;' \
--header 'Content-Type: application/json' \
--data-raw '{
"account_id": 111111111,
"name": "car",
"description": "car"
}'
响应示例响应示例
{
"code": 0,
"message": "",
"message_cn": "",
"data": {
"tag_id": "<TAG_ID>"
}
}
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/json
access_token
string
必需
默认值:
<ACCESS_TOKEN>
timestamp
string
必需
MarketingAPI 所使用的时间戳,若无特殊说明,均为秒级时间戳
MarketingAPI 所使用的时区为GMT+8,例如当时间戳为1494840119时,表示 2018-05-15 17:21:59
默认值:
<TIMESTAMP>
nonce
string
必需
默认值:
<NONCE>
Body 参数application/json
返回响应
修改于 2023-11-08 02:40:07