> 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/graphql-api/api-reference/mutations/update-plan.md).

# updatePlan

Updates the active plan of the subscription identified via \`X-Subscription-Token\`.

### Arguments

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

### UpdatePlanInput Arguments

| Argument                                                                                          | Description |
| ------------------------------------------------------------------------------------------------- | ----------- |
| planSlug ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string.md)!) |             |

### Return fields

#### cart ([Cart](https://developer.firmhouse.com/graphql-api/api-reference/objects/cart.md)!)

#### subscription ([Subscription](https://developer.firmhouse.com/graphql-api/api-reference/objects/subscription.md)!)
