Update Contact Variables
Merge variables into a contact's and/or its account's variables.
Upsert semantics: provided keys are written, other keys are kept. If the contact's company is not yet linked to your organization, the account is created so the account variables can be stored.
Each scope holds at most 200 variables. A null value clears the variable but keeps the key counting toward the limit; use the DELETE endpoint to remove a key and free its slot.
Account variables can also be managed directly through /v1/accounts/{account_id}/variables.
Requires the contacts:write scope on the API key.
Path parameters
ID of the contact.
Request body
Response
Successful Response
Changes
Changed in 1 of the 12 revisions of this API.112
- ▲
removed the required property
company_variablesfrom the response with the200statusresponse-required-property-removed
- ●
removed the request property
company_variablesrequest-property-removed
- ○
added the new optional request property
account_variablesnew-optional-request-property
- ○
added the required property
account_variablesto the response with the200statusresponse-required-property-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲