# Update Plan Updates subscription plan parameters. Endpoint: PUT /projects/{project_id}/subscriptions/plans/{plan_id} Version: 2.0 Security: basicAuth ## Path parameters: - `project_id` (integer, required) Project ID. - `plan_id` (integer, required) Plan ID. ## Request fields (application/json): - `name` (object) Plan name. Value consists of pairs "localization":"plan name". - `name.en` (string) English. - `name.ru` (string) Russian. - `name.cs` (string) Czech. - `name.ar` (string) Arabic. - `name.bg` (string) Bulgarian. - `name.cn` (string) Chinese (Simplified). - `name.tw` (string) Chinese (Traditional). - `name.fr` (string) French. - `name.de` (string) German. - `name.he` (string) Hebrew. - `name.it` (string) Italian. - `name.ko` (string) Korean. - `name.pl` (string) Polish. - `name.pt` (string) Portuguese. - `name.ro` (string) Romanian. - `name.es` (string) Spanish. - `name.th` (string) Thai. - `name.tr` (string) Turkish. - `name.vi` (string) Vietnamese. - `name.ja` (string) Japanese. - `charge` (object) Billing details. - `charge.period` (object, required) Billing period. - `charge.period.value` (integer, required) Number of time units. The value depends on the type parameter and can be: - from 1 to 366, if type is day - from 1 to 12, if type is month - 0 if type is lifetime - `charge.period.type` (string, required) Time unit. Can be day, month or lifetime. Enum: "day", "month", "lifetime" - `charge.amount` (number) Billing amount. - `charge.currency` (string) Currency of the purchase. Three-letter currency code per [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217). - `charge.prices` (array) List of prices in different currencies. - `charge.prices.setup_fee` (number) One-time setup fee charged as part of the first invoice. - `external_id` (string) Plan external ID (32 characters). - `description` (object) Plan description. Value consists of pairs "localization":"plan description". - `group_id` (string) Group ID the plan is linked to. - `expiration` (object) Subscription expiration details. - `expiration.value` (integer,null, required) Validity time. - `expiration.type` (string, required) Time unit. Can be day or month. Enum: "day", "month" - `trial` (object) Trial period details. If this parameter is not passed, the default values (0 days) are used. - `trial.value` (integer, required) Number of time units. - `trial.type` (string, required) Time unit. Can be day. Enum: "day" - `grace_period` (object) Grace period details. - `billing_retry` (object) Billing retry details. - `billing_retry.value` (integer, required) Number of billing retries. - `refund_period` (integer,null) Period of time that user can refund the payment for a subscription plan (in days). - `tags` (array) Plan tags. - `status` (object) - `status.value` (string) Subscription plan status. Enum: "active", "disabled" ## Response 200 fields