---
title: "Extend user's plan expiration"
method: POST
path: "/membership/{user_id}/plan/{plan_id}"
tags: ["membership"]
---

# Extend user's plan expiration

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

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.

## Path parameters

- `user_id` string, required
- `plan_id` integer, required

## Request body

- object
  - `expiration_date` string, 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.
  - `addons` object[]: Optional list of add-ons to extend in-place to the plan's new expiration date.
    - `addon_id` integer, required: The add-on id to extend along with the plan.

## Response `204`

Plan successfully associated/updated to the user.

## Other responses

- `400`: The plan could not be extended, for example because `expiration_date` is earlier than the active plan's current expiration date. The reason is included in the response body.
- `403`: Partner does not have permission to manage the requested plan.

## Changes

- **2026-10-14** `4ac969356598`: 1 info
  - added the non-success response with the status `400`

[Operation history](https://skmtc.dev/zumba/apis/zumba-s-api/changes/membership/:user_id/plan/:plan_id/post.md)

---

[API](https://skmtc.dev/zumba/apis/zumba-s-api.md) - [All operations](https://skmtc.dev/zumba/apis/zumba-s-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zumba/apis/zumba-s-api/revisions/4ac969356598?raw)
