Upsert user trait

Headers

X-Schematic-Api-KeystringRequired

Request

This endpoint expects an object.
keysmap from strings to stringsRequired

Key/value pairs to 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

OK
dataobject
paramsmap from strings to any
Input parameters

Errors