Users
Get Users
This endpoint will return all the users of the specified merchant.
GET
Scope required:
users.readThe user’s phone number is not gathered by Thanx with the permission to use it
for marketing.
The Partner API does not support creating or enrolling a user. To do so, use the
Consumer API
POST /users. Existing users can be
updated via Update User.Parameters
string
required
Filter by Merchant ID
string
Optionally filter by email. If there is a match, a single user record will be
returned.
string
Optionally filter by phone. If there is a match, a single user record will be
returned. This value is expected to be in
E.164 format.
datetime
Optionally filter by records updated after specified
updated_after
timestamp.datetime
Optionally filter by records updated before specified
updated_before
timestamp.boolean
Optionally include loyalty attributes in response. Defaults to
false.boolean
Optionally include communication setting attributes in response. Defaults to
false.integer
The current page of paginated resources.
- Default:
1.
integer
Number of records to be returned per API request.
- Default:
10 - Minimum:
1 - Maximum:
100
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