> For the complete documentation index, see [llms.txt](https://developer.firmhouse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.firmhouse.com/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/mutations/update-subscribed-plan.md).

# updateSubscribedPlan

Updates the subscribed plan.

### Arguments

| Argument                                                                                                                                | Description                         |
| --------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- |
| input ([UpdateSubscribedPlanInput](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/update-subscribed-plan-input.md)!) | Parameters for UpdateSubscribedPlan |

### UpdateSubscribedPlanInput Arguments

| Argument                                                                                                                                                | Description                                                                                         |
| ------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| id ([ID](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/id.md)!)                                                                     | The ID of the SubscribedPlan to update.                                                             |
| nextBillingDate ([ISO8601Date](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/iso-8601-date.md))                                     | The new date at which the next billing cycle will occur.                                            |
| planId ([ID](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/id.md))                                                                  | The new plan associated the subscription should change to.                                          |
| billingCycleIntervalUnit ([BillingCycleIntervalUnit](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/billing-cycle-interval-unit.md)) | The unit of the interval the billing cycle runs                                                     |
| billingCycleInterval ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md))                                                  | The interval at which the billing cycle runs according to the unit set in billingCycleIntervalUnit. |
| customRecurringAmountCents ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md))                                            | A custom recurring amount different from the default plan price.                                    |
| customInitialAmountCents ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md))                                              | A custom initial amount different from the default plan initial amount                              |
| trialPeriodUnit ([CommitmentUnit](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/commitment-unit.md))                                | The interval defining trial period length according to the unit set in trialPeriodIntervalUnit.     |
| trialPeriodPeriod ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md))                                                     | The unit of the interval defining the trial period length set in trialPeriodInterval                |
| maximumCommitmentUnit ([MaximumCommitmentUnit](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/maximum-commitment-unit.md))           | The unit of the interval for maximum commitment terms                                               |
| maximumCommitmentPeriod ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md))                                               | The period interval for maximum commitment terms                                                    |
| maximumCommitmentEndsAt ([ISO8601Date](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/iso-8601-date.md))                             | The date at which the maximum commitment ends                                                       |
| minimumCommitmentUnit ([CommitmentUnit](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/commitment-unit.md))                          | The unit of the interval for minimum commitment terms                                               |
| minimumCommitmentPeriod ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md))                                               | The period interval for minimum commitment terms                                                    |
| minimumCommitmentEndsAt ([ISO8601Date](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/iso-8601-date.md))                             | The date at which the minimum commitment ends                                                       |

### Return fields

#### errors (\[[ModelValidationError](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/model-validation-error.md)!]!)

#### subscribedPlan ([SubscribedPlan](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/subscribed-plan.md))
