# updateAppliedPromotion

### Arguments

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

### UpdateAppliedPromotionInput Arguments

| Argument                                                                                                              | Description                                                                                                                         |
| --------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| id ([ID](https://developer.firmhouse.com/graphql-api/api-reference/objects/id)!)                                      |                                                                                                                                     |
| deactivateAfterAmountIncludingTaxCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int)) | 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))                   | 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))                         | 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)!)

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