membership

Extend user's plan expiration

Changed on

Extend the user's plan expiration date. When the user's plan is active, the plan ends on the last day of the month of expiration_date, whatever month the request is sent in, so sending the same request again changes nothing.

post/membership/{user_id}/plan/{plan_id}

Request

  • Base URL
    https://api.zumba.com
  • URL
    https://api.zumba.com/membership/{user_id}/plan/{plan_id}
  • Auth
    OAuth 2
    Authorization code: https://www.zumba.com/oauth/authorize
    Token URL: https://www.zumba.com/oauth/access_token scopes: plan_management

Path parameters

user_idstring required

User's ID

plan_idinteger required

Plan's ID

Request body

expiration_datestring date required

The plan's new expiration date. The date should always be the last day of the month; any other day is stored as the last day of its month. A date that doesn't exist (such as 2027-02-31) or that is earlier than the active plan's current expiration date is rejected and nothing changes.

Response

Plan successfully associated/updated to the user.

Changes