---
title: "Update Plan"
method: POST
path: "/v1/subscription/update_plan"
tags: ["subscription"]
---

# Update Plan

`POST /v1/subscription/update_plan`

## Request

- Base URL: `https://api.linktodm.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.linktodm.com/v1/subscription/update_plan`
- Auth: HTTP bearer

Update the plan/variant of a subscription (product name and variant id).
Supported for subscriptions that use a compatible payment provider.

## Request body

- UpdateSubscriptionPlanPayload: Payload to update a subscription's plan/variant (e.g. change product or billing interval).
  - `subscription_id` integer, required
  - `product_name` 'Pro' | 'Pro+', required
  - `variant_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/linktodm/apis/salesmorph.md) - [All operations](https://skmtc.dev/linktodm/apis/salesmorph/llms.txt) - [OpenAPI document](https://skmtc.dev/linktodm/apis/salesmorph/revisions/4af0ad5dbe92?raw)
