Anchor to section titled 'undefined'

priceRuleDiscountCodeUpdate
mutation
deprecated

Requires write_price_rules access scope.

Update a discount code for a price rule. Use discountCodeBasicUpdate instead.


The new code of a price rule.

Anchor to priceRuleId
priceRuleId
required

The ID of the price rule object.


Was this section helpful?

The updated price rule.

The updated 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?