put https://people.api.boomtrain.com/v1/person///
Updates a person record for the specified person. If no record of the specified person exists, this route creates a person record.
User Attributes
Attributes are represented in Boomtrain's systems as a set of key:value pairs. Any string can be used as an attribute value.
Note that all user attribute keys will be normalized in the following way:
- Leading and trailing whitespace characters will be removed.
- Any instances of multiple consecutive whitespace characters will be replaced with a single whitespace character.
- Uppercase letters are downcased
- Whitespaces are replaced with underscore characters.
This normalization will occur for all keys inside a nested value within that attribute as well.
As an example, the attribute expressed as "My Attribute"
will be transformed to my_attribute
.
There are a few attribute names that are recognized as standard values:
Attribute Name | Purpose |
---|---|
first_name OR firstname | The first name of the user. |
last_name OR lastname | The last name of the user. |
name | The full name of the user. |
signed_up_at | The date that a user signed up for your site. Note that this attribute should be specified as an ISO-8601 Timestamp String. |