Skip to main content
Log inSign up
Anchor to priceRuleDiscountCodeUpdate

priceRuleDiscountCodeUpdate

mutationDeprecated

Requires write_price_rules access scope.

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

•
String!required

The new code of a price rule.

•
ID!required

The ID of the price rule object.


Was this section helpful?

Anchor to PriceRuleDiscountCodeUpdatePayload returnsPriceRuleDiscountCodeUpdatePayload returns

•

The updated price rule.

Anchor to priceRuleDiscountCodepriceRuleDiscountCode
•

The updated discount code.

•

The list of errors that occurred from executing the mutation.

•
[UserError!]!non-nullDeprecated

The list of errors that occurred from executing the mutation.


Was this section helpful?