priceRuleDeactivate - admin-graphql - MUTATION
Version: 2024-04
Description:
Deactivate a price rule.
Access Scopes
`write_price_rules` access scope.
Arguments
-
id:
ID! -
ID of the price rule to update.
Returns
-
priceRule:
PriceRule
The deactivated price rule.
-
priceRuleUserErrors:
PriceRuleUserError!
The list of errors that occurred from executing the mutation.
-
userErrors:
UserError!
The list of errors that occurred from executing the mutation.
Examples