# updateSubscribedPlan

### Arguments

| Argument                                                                                                                             | Description                         |
| ------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------- |
| input ([UpdateSubscribedPlanInput](https://developer.firmhouse.com/graphql-api/api-reference/objects/update-subscribed-plan-input)!) | Parameters for UpdateSubscribedPlan |

### UpdateSubscribedPlanInput Arguments

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

### Return fields

#### errors (\[[ModelValidationError](https://developer.firmhouse.com/graphql-api/api-reference/objects/model-validation-error)!]!)

#### subscribedPlan ([SubscribedPlan](https://developer.firmhouse.com/graphql-api/api-reference/objects/subscribed-plan))
