Repository navigation
Create New User
lsambridge edited this page May 13, 2025
·
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",
"OrgUnitLevels" : [
"London Gymn",
"Bristol Gymn"
]
}| Name | Description |
|---|---|
| FirstName | User first name |
| LastName | User last name |
| EmailAddress | User's email address |
| PartnerMemberId | (Optional) Your unique identifier for this user |
| Country | (Optional) See Country List |
| Level | Acceptable values are: Basic, Basic Plus, Premium, Premium Plus
|
| OrgUnitLevels | list of strings, that break the members down into sub groups of your company, only needed if you are sub catergorising your members |
| 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",
"externalMemberId": "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