Anchor to priceRuleDiscountCodeUpdateprice
mutationprice Rule Discount Code Update
Requires access scope.
Deprecated. Use discountCodeBasicUpdate instead. This will be removed in 2024-10.
Update a discount code for a price rule.
Anchor to Arguments
Arguments
- Anchor to codecode•String!required
The new code of a price rule.
- Anchor to priceRuleIdprice•ID!
Rule Id required The ID of the price rule object.
Was this section helpful?
- Anchor to priceRuleprice•Price
Rule Rule The updated price rule.
- Anchor to priceRuleDiscountCodeprice•Price
Rule Discount Code Rule Discount Code The updated discount code.
- Anchor to priceRuleUserErrorsprice•[Price
Rule User Errors Rule User Error!]! non-null The list of errors that occurred from executing the mutation.
- Anchor to userErrorsuser•[User
Errors Error!]! non-nullDeprecated The list of errors that occurred from executing the mutation.
Was this section helpful?