> 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-applied-promotion.md).

# updateAppliedPromotion

Updates a promotion applied to a Subscription

### Arguments

| Argument                                                                                                                                    | Description                           |
| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------- |
| input ([UpdateAppliedPromotionInput](https://developer.firmhouse.com/graphql-api/api-reference/objects/update-applied-promotion-input.md)!) | Parameters for UpdateAppliedPromotion |

### UpdateAppliedPromotionInput Arguments

| Argument                                                                                                                 | Description                                                                                                                         |
| ------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------- |
| id ([ID](https://developer.firmhouse.com/graphql-api/api-reference/objects/id.md)!)                                      |                                                                                                                                     |
| deactivateAfterAmountIncludingTaxCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int.md)) | The maximum discount amount in cents that this promotion should provide.Only applicable when using the VALUE deactivation strategy. |
| deactivateAfterTimes ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int.md))                   | After how mamy times used this applied promotion should get deactivated.Only applicable when using the TIMES deactivation strategy. |
| active ([Boolean](https://developer.firmhouse.com/graphql-api/api-reference/objects/boolean.md))                         | Whether this promotion should actively be used for this subscription.                                                               |

### Return fields

#### appliedPromotion ([AppliedPromotion](https://developer.firmhouse.com/graphql-api/api-reference/objects/applied-promotion.md)!)

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