---
title: "Update Plan Option"
method: PUT
path: "/api/v1/admin/plans/{plan_id}/options/{option_id}"
tags: ["Admin - Plans", "Admin - Plans"]
---

# Update Plan Option

`PUT /api/v1/admin/plans/{plan_id}/options/{option_id}`

## Request

- Base URL: `https://api.gemstoneaiapp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gemstoneaiapp.com/api/v1/admin/plans/{plan_id}/options/{option_id}`
- Auth: none declared

Update plan option

## Path parameters

- `plan_id` integer, required
- `option_id` integer, required

## Headers

- `x-admin-key` string, nullable

## Request body

- PlanOptionUpdate: Schema for updating a plan option
  - `billing_period` string, nullable
  - `billing_interval_count` integer, nullable
  - `price` union
    - number
    - string
  - `currency` string, nullable
  - `display_name` string, nullable
  - `savings_text` string, nullable
  - `trial_period_days` integer, nullable
  - `is_active` boolean, nullable
  - `gateway_data` object, nullable

## Response `200`

Successful Response

- PlanOptionResponse: Plan option response
  - `id` integer, required
  - `plan_id` integer, required
  - `billing_period` string, required
  - `billing_interval_count` integer, required
  - `price` string, required
  - `currency` string, required
  - `display_name` string, nullable, required
  - `savings_text` string, nullable, required
  - `trial_period_days` integer, required
  - `gateway_data` object, nullable, required
  - `is_active` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/gemstoneaiapp/apis/gemstoneai-api.md) · [All operations](https://skmtc.dev/gemstoneaiapp/apis/gemstoneai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/gemstoneaiapp/apis/gemstoneai-api/revisions/fcb441f55161?raw)
