# SwitchSubscriptionPlanInput

### Fields

#### clientMutationId ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))

A unique identifier for the client performing the mutation.

#### subscriptionId ([ID](https://developer.firmhouse.com/graphql-api/api-reference/objects/id)!)

The subscription the new plan should be assigned to.

#### planId ([ID](https://developer.firmhouse.com/graphql-api/api-reference/objects/id)!)

The new plan the subscription should be switched to.

#### successUrl ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))

An optional URL to redirect the customer to after successful payment. If not specified, default Firmhouse page will be used.

#### failureUrl ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))

An optional URL to redirect the customer to if the offer is accessed after its expiration time. If not specified, default Firmhouse page will be used.
