Upsert user trait

POST

Request

This endpoint expects an object.
keysmap from strings to stringsRequired
Key/value pairs too identify a company or user
traitstringRequired
Name of the trait to update
incrintegerOptional
Amount to increment the trait by (positive or negative)
setstringOptional
Value to set the trait to
update_onlybooleanOptional
Unless this is set, the company or user will be created if it does not already exist

Response

This endpoint returns an object
dataobject
paramsmap from strings to any
Input parameters