Replaces the entire collection of properties associated with a subscriber. All desired properties, even unchanged properties, must be set each time this method is called. Property names must be camel cased or this call will fail. Note that subscriber properties are visible to bots through the subscriber.properties
hash. See the Bot Documentation for more information.
Response format | JSON |
---|---|
Requires authentication? | Yes |
properties required | Properties to set for the subscriber. |
---|
curl -X PUT \
-u '[SID]:[TOKEN]' \
-H 'Content-Type: application/json' \
'https://api.essential.to/v2/account/subscribers/RsbrYCSo2m0sShMLOlZqtw/properties' \
-d '{"properties": { "randomProperty": 456 }}'
# Sample response
{
"randomProperty": 456
}
Python coming soon.
Node coming soon.