---
title: "Update Plan"
method: PATCH
path: "/api/v1/memberships/plans/{plan_id}"
tags: ["Memberships"]
---

# Update Plan

`PATCH /api/v1/memberships/plans/{plan_id}`

## Request

- Base URL: `https://api.compteam.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.compteam.io/api/v1/memberships/plans/{plan_id}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## Path parameters

- `plan_id` string, uuid, required

## Request body

- MembershipPlanUpdate
  - `name` string, nullable
  - `description` string, nullable
  - `price_amount` union
    - number
    - string
  - `currency` string, nullable
  - `billing_interval` string, nullable
  - `stripe_price_id` string, nullable
  - `stripe_signup_fee_price_id` string, nullable
  - `signup_fee_amount` union
    - number
    - string
  - `membership_cancellation_notice_months` integer, nullable
  - `includes_gear_discount` boolean, nullable
  - `gear_discount_pct` union
    - number
    - string
  - `is_active` boolean, nullable
  - `allowed_tiers` string[], nullable
  - `min_age_years` integer, nullable
  - `max_age_years` integer, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/compteam/apis/c-team-api.md) · [All operations](https://skmtc.dev/compteam/apis/c-team-api/llms.txt) · [OpenAPI document](https://skmtc.dev/compteam/apis/c-team-api/revisions/4bd27c892655?raw)
