Repository navigation
Renew User
Lee Sambridge edited this page May 29, 2024
·
9 revisions
Renewing a subscription will set the renewal date to one year from the current date and will set the user status to ‘Active’. Either an EmailAddress or PartnerMemberId must be specified to identify the user that should be renewed.
HTTP - 200 - Successful renewal
HTTP - 404 - Either the email address or the Partner User Id used could not be found
[PATCH] /v2/renew
A renewal of a membership is created by PATCHing to the following JSON body to the endpoint:
{
"EmailAddress": "email@emai.com",
"PartnerMemberId" : 1234
}| Field | Description |
|---|---|
| EmailAddress | User's email address |
| PartnerMemberId | Your unique identifier for this user |
| RenewDate |
UTC Date Time (optional - defaults to a year from now) |
A successful response looks like:
{
"ResultDetails": "User subscription renewed successfully",
"MemberUrl": "https://rewards.client.com/preload/client?iframe=ffe2SLrm4qrvyulsci",
"User": {
"RenewalDate": "2025-05-27",
"API": "Members",
"JoinDate": "2024-04-25",
"loginUrl": "https://test.myezrewards.com/slug?iframe=vgnppl6vhJpUq1q2EaPV",
"level": "Basic",
"LastName": "lastName",
"Status": "Active",
"FirstName": "firstName",
"EmailAddress": "EMAIL@endurancezone.com",
"Id": 15006401
}
}- 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