Repository navigation
Create New User
Matt Duckhouse edited this page May 29, 2024
·
27 revisions
A new user is created by POSTing the following JSON body to the endpoint:
201 - Successful creation of a new user
400 - The payload sent is not correct or valid
[POST] /v2/users/
{
"emailAddress": "email@endurancezone.com",
"partnerMemberId" : "your-identifier",
"firstName" : "FirstName",
"lastName" : "LastName",
"country" :"UK",
"level" :"Basic"
}| Name | Description |
|---|---|
| FirstName | User first name |
| LastName | User last name |
| EmailAddress | User's email address |
| PartnerMemberId | (Optional) Your unique identifier for this user |
| Country | Acceptable values are: USA, UK, Canada, Europe , Mexico, Australia, New Zealand, Africa, India, Dubai, Austria, Belgium, Bulgaria, Switzerland, Germany, Denmark, Spain, France, Ireland, Italy, Luxembourg, Monaco, Netherlands, Norway, Sweden, Singapore, South Africa, UAE - *additional countries can be enabled as part of the onboarding |
| Level | Acceptable values are: Basic, Basic Plus, Premium, Premium Plus
|
A successful response looks like:
HTTP/1.1 201 Created
Location: https://api.myezrewards.com/v2/users/15140131
{
"identifier": 15140131,
"loginUrl": "https://rewards.client.com/preload/client?iframe=ffe2SLrm4qrvyulsci",
"level": "Basic",
"firstName": "FirstName",
"lastName": "LastName",
"status": "Active",
"emailAddress": "test@endurancezone.com",
"country": "UK",
"partnerMemberId": "your-identifier"
}- Frequently Asked Questions
-
EZ Loyalty Points Api
- Authorization
- Summary
- End Points
- Branding End Points
- Buckets End Points
- Competition End Points
- Country End Points
- Leader Boards End Points
- Machine Learning End Points
- Partner Activities End Points
- Partner End Points
- Partner FAQs End Points
- Partner Level Points End Points
- Reward Points End Points
- Subscriptions End Points
- Users End Points
- User Points End Points
- EZ Loyalty Admin Api