Skip to content

Renew User

Lee Sambridge edited this page May 29, 2024 · 9 revisions

Renew user

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 Response Values

    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
    }
}

Clone this wiki locally