---
title: "Update Subscription Plan"
method: PATCH
path: "/api/stripe/subscription_plan/{subscription_id}/{plan_id}"
tags: ["Stripe"]
---

# Update Subscription Plan

`PATCH /api/stripe/subscription_plan/{subscription_id}/{plan_id}`

Update a subscription to a new plan

## Path parameters

- `subscription_id` string, uuid, required
- `plan_id` string, uuid, required

## Headers

- `TR-Organization` string, uuid, required

## Response `200`

Confirmation that the subscription was updated to the new plan

## Other responses

- `400` — Service error relating to updating the subscription to the new plan

---

[API](https://skmtc.dev/devflowinc/apis/trieve-api.md) · [All operations](https://skmtc.dev/devflowinc/apis/trieve-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/devflowinc/trieve-api/revisions/84583e7c9fc1/schema)
