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

# Update Plan

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

## Request

- Base URL: `https://www.faroz.uz` (the document declares no server; this is the origin it was published from)
- URL: `https://www.faroz.uz/api/v1/wallet/plans/{plan_id}`
- Auth: HTTP bearer

## Path parameters

- `plan_id` string, required

## Request body

- PlanUpdateRequest: PATCH — faqat berilgan maydonlar yangilanadi.
  - `title` string, nullable
  - `description` string, nullable
  - `monthly_price` integer, nullable
  - `months` integer, nullable
  - `features` string[], nullable
  - `is_popular` boolean, nullable
  - `is_active` boolean, nullable
  - `sort_order` integer, nullable

## Response `200`

Successful Response

- SubscriptionPlanAdmin: Admin CRUD ko'rinishi — faollik va tartib bilan.
  - `id` string, required
  - `title` string
  - `description` string
  - `monthly_price` integer
  - `months` integer
  - `features` string[]
  - `is_popular` boolean
  - `is_active` boolean
  - `sort_order` integer

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/faroz/apis/edu-app-api.md) · [All operations](https://skmtc.dev/faroz/apis/edu-app-api/llms.txt) · [OpenAPI document](https://skmtc.dev/faroz/apis/edu-app-api/revisions/414a551ba773?raw)
