CreateContactRequest
Phone in international format. Without a country code, use defaultCountry.
Possible values: <= 40 characters
Possible values: <= 160 characters
Country (ISO 3166-1 alpha-2) to read a phone without a country code.
Possible values: >= 2 characters and <= 2 characters
Possible values: <= 80 characters
Possible values: <= 80 characters
Possible values: <= 254 characters
Possible values: Value must match regular expression ^[a-z]{2}(-[A-Z]{2})?$
pt-BRPossible values: <= 64 characters
America/Sao_Pauloattributes object
Patch over the custom fields. null or "" clear the value; the format is validated by the field type.
Patch over the custom fields. null or "" clear the value; the format is validated by the field type.
Tag ids. On an edit, it is the complete set.
Possible values: <= 50
optIn object
Creation only: records marketing consent at sign-up.
How consent was obtained — "checkbox at checkout of order 1042", for instance.
Possible values: >= 3 characters and <= 500 characters
{
"phone": "string",
"bsuid": "string",
"defaultCountry": "string",
"firstName": "string",
"lastName": "string",
"locale": "pt-BR",
"timezone": "America/Sao_Paulo",
"attributes": {},
"tagIds": [
"string"
],
"optIn": {
"evidence": "string"
}
}