Skip to main content
PATCH
Scope required: users.write
The user’s phone number is not gathered by Thanx with the permission to use it for marketing.
To update a user’s notification / email settings, use Update User’s Communication Settings instead. communication_settings is read-only on this endpoint.

Parameters

string
required
User ID
string
required
Merchant ID

Body

string
The user’s email
string
The user’s phone number in E.164 format, with the country code prefix (e.g. +14157582345). Phones submitted without the country code prefix are stored as-is — this endpoint does not normalize them — and will fail later phone-based lookups (such as Partner Auth Token) that depend on E.164 parsing.
string
The user’s first name
string
The user’s last name
hash
The user’s birthday information
string
The user’s zip code

Response

string
The user's identifier
string
The user's email
string
The user's phone number, in E.164 format (eg. +14157582345)
string
The user's first name
string
The user's last name
hash
The user's birthday information
string
The user's zip code
datetime
Datetime the user record was last updated.
hash
hash