Extend User - Endurancezone-com/API-docs GitHub Wiki

Extend user

Extend a membership will set the renewal date to the supplied date (by default one year from the current date, less one day) and will set the user status to ‘Active’.

HTTP Response Values

    HTTP - 200 - Successful renewal
    HTTP - 404 - User Id supplied could not be found (the response body text is ```400- NOT OK```)

[PATCH] /v2/users/{{identifier}}/renew

Route Parameter Description
identifier The identifier of the user - use lookup Apis, to get User Id

Extending a membership is done by PATCHing to the following JSON body to the endpoint:


{
    "RenewDate" : "2027-05-26T00:00:00Z"
}
Field Description
RenewDate UTC Date Time - the property must be present in the body, set it to null to default to a year from now (less one day)

A successful response looks like:

{
    "RenewalDate": "2027-05-26",
    "API": "Members",
    "JoinDate": "2026-05-27",
    "LoginUrl": "https://rewards.client.com/preload/client?iframe=ffe2SLrm4qrvyulsci",
    "HubLoginUrl": "https://landing.myezrewards.com/client/default/?iframe=ffe2SLrm4qrvyulsci",
    "Level": "Basic",
    "LastName": "LastName",
    "Status": "Active",
    "FirstName": "FirstName",
    "EmailAddress": "[email protected]",
    "Identifier": 15006401,
    "ExternalMemberId": null,
    "OrgUnits": null,
    "Action": null
}