---
title: "PUT /api/plans"
method: PUT
path: "/api/plans"
tags: ["Plans"]
---

# PUT /api/plans

`PUT /api/plans`

## Request body

- UpdatePlansRequest
  - `memberships` PlanDto[], required
    - `id` string, guid
    - `type` integer
    - `product` ProductDto
      - `id` string, guid
      - `price` number
      - `accountingSoftwareProduct` AccountingSoftwareProductDto
        - `id` string, guid
        - `taxName` string, required
        - `accountCode` AccountCodeDto
          - `id` string, guid
          - `accountingSoftwareId` string, guid
          - `name` string, required
          - `value` string, required
        - `itemCode` ItemCodeDto
          - `id` string, guid
          - `accountingSoftwareId` string, guid
          - `value` string, required
    - `chapter` string, required
    - `unitsMin` integer, nullable
    - `unitsMax` integer, nullable

## Response `200`

Success

- PlanDto[]
  - `id` string, guid
  - `type` integer
  - `product` ProductDto
    - `id` string, guid
    - `price` number
    - `accountingSoftwareProduct` AccountingSoftwareProductDto
      - `id` string, guid
      - `taxName` string, required
      - `accountCode` AccountCodeDto
        - `id` string, guid
        - `accountingSoftwareId` string, guid
        - `name` string, required
        - `value` string, required
      - `itemCode` ItemCodeDto
        - `id` string, guid
        - `accountingSoftwareId` string, guid
        - `value` string, required
  - `chapter` string, required
  - `unitsMin` integer, nullable
  - `unitsMax` integer, nullable

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.dev/rgcq/apis/web.md) · [All operations](https://skmtc.dev/rgcq/apis/web/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rgcq/web/revisions/3fdd4827f760/schema)
