---
title: "Update a Subscription Plan"
method: PUT
path: "/v1/subscriptions/{id}/plan"
---

# Update a Subscription Plan

`PUT /v1/subscriptions/{id}/plan`

## Request

- Base URL: `https://api.paymongo.com`
- URL: `https://api.paymongo.com/v1/subscriptions/{id}/plan`
- Auth: HTTP basic

Use secret API key to change the Subscription's Plan.

## Path parameters

- `id` string, required

## Request body

- object
  - `data` object
    - `attributes` object
      - `plan_id` string, required: ID of the new Plan that the customer selected.

## Response `200`

200

- object

## Other responses

- `400`: 400

---

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