Anchor to priceRuleCreateprice
mutationprice Rule Create
Requires access scope.
Deprecated. Use discountCodeBasicCreate instead. This will be removed in 2024-10.
Create a price rule using the input.
Anchor to Arguments
Arguments
- Anchor to priceRuleprice•Price
Rule Rule Input! required The input fields to create a price rule.
- Anchor to priceRuleDiscountCodeprice•Price
Rule Discount Code Rule Discount Code Input The input fields to create a discount code for the price rule.
Was this section helpful?
- Anchor to priceRuleprice•Price
Rule Rule The newly created price rule.
- Anchor to priceRuleDiscountCodeprice•Price
Rule Discount Code Rule Discount Code The newly created 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?