> 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

### Arguments

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

### UpdateAppliedPromotionInput Arguments

| Argument                                                                                  | Description                                                                                                                         |
| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| id ([ID](/graphql-api/api-reference/objects/id.md)!)                                      |                                                                                                                                     |
| deactivateAfterAmountIncludingTaxCents ([Int](/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](/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](/graphql-api/api-reference/objects/boolean.md))                         | Whether this promotion should actively be used for this subscription.                                                               |

### Return fields

#### appliedPromotion ([AppliedPromotion](/graphql-api/api-reference/objects/applied-promotion.md)!)

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