> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/discounts/llms.txt)
> Source: https://docs.saleor.io/api-reference/discounts/mutations/promotion-rule-update

# promotionRuleUpdate Mutation

Updates an existing promotion rule.

Requires the MANAGE\_DISCOUNTS permission.

Triggers the following webhook events:

-   PROMOTION\_RULE\_UPDATED (async): A promotion rule was updated.

```graphql
promotionRuleUpdate(
  id: ID!
  input: PromotionRuleUpdateInput!
): PromotionRuleUpdate
```

Details

```graphql
type PromotionRuleUpdate {
  errors: [PromotionRuleUpdateError!]!
  promotionRule: PromotionRule
}
```

<a id="arguments"></a>

### Arguments

<a id="id"></a>

#### [`id`](#id) ● [`ID!`](/api-reference/miscellaneous/scalars/id.md)

ID of the promotion rule to update.

<a id="input"></a>

#### [`input`](#input) ● [`PromotionRuleUpdateInput!`](/api-reference/miscellaneous/inputs/promotion-rule-update-input.md)

Fields required to create a promotion rule.

<a id="type"></a>

### Type

<a id="promotionruleupdate"></a>

#### [`PromotionRuleUpdate`](/api-reference/discounts/objects/promotion-rule-update.md)

Updates an existing promotion rule.

Requires the MANAGE\_DISCOUNTS permission.

Triggers the following webhook events:

-   PROMOTION\_RULE\_UPDATED (async): A promotion rule was updated.
