# priceRuleDeactivate - admin-graphql - MUTATION Version: 2024-07 ## Description Deactivate a price rule. ### Access Scopes `write_price_rules` access scope. ## Arguments * [id](/docs/api/admin-graphql/2024-07/scalars/ID): ID! - ID of the price rule to update. ## Returns * [priceRule](/docs/api/admin-graphql/2024-07/objects/PriceRule): PriceRule The deactivated price rule. * [priceRuleUserErrors](/docs/api/admin-graphql/2024-07/objects/PriceRuleUserError): PriceRuleUserError! The list of errors that occurred from executing the mutation. * [userErrors](/docs/api/admin-graphql/2024-07/objects/UserError): UserError! The list of errors that occurred from executing the mutation. ## Examples