Upsert company trait

Authentication

X-Schematic-Api-Keystring
API Key authentication via header

Request

This endpoint expects an object.
keysmap from strings to stringsRequired

Key/value pairs to identify a company or user

traitstringRequired<=255 characters
Name of the trait to update
incrlong or nullOptional

Amount to increment the trait by (positive or negative)

setstring or nullOptional<=1024 characters
Value to set the trait to
update_onlyboolean or nullOptional
Unless this is set, the company or user will be created if it does not already exist

Response

OK
dataobject
paramsobject
Input parameters

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error