Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

mutationDeprecated

Requires write_price_rules access scope.

Delete a price rule. Use discountCodeDelete instead.

ID!required

The ID of the price rule object.


Was this section helpful?

Anchor to PriceRuleDeletePayload returnsPriceRuleDeletePayload returns

The ID price of the deleted price rule.

The list of errors that occurred from executing the mutation.

Shop!non-null

The shop of the deleted price rule.

[UserError!]!non-nullDeprecated

The list of errors that occurred from executing the mutation.


Was this section helpful?