Anchor to section titled 'undefined'

priceRuleCreate
mutation
deprecated

Requires write_price_rules access scope.

Create a price rule using the input. Use discountCodeBasicCreate instead.


The input fields to create a price rule.

The input fields to create a discount code for the price rule.


Was this section helpful?

The newly created price rule.

The newly created discount code.

The list of errors that occurred from executing the mutation.

The list of errors that occurred from executing the mutation. Use priceRuleUserErrors instead.


Was this section helpful?