Price Rule User Error
Represents an error that happens during execution of a price rule mutation.
Anchor to FieldsFields
- Anchor to codecode•Price
Rule Error Code Error code to uniquely identify the error.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Anchor to MutationsMutations
Deprecated mutations
- •mutationDeprecated
- •ID!required
ID of the price rule to update.
Arguments
- Anchor to priceRuleprice•Price
Rule Rule The activated price rule.
- 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
Fields
- •ID!
- •mutationDeprecated
- 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.
Arguments
- 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
Fields
- •mutationDeprecated
- •ID!required
ID of the price rule to update.
Arguments
- Anchor to priceRuleprice•Price
Rule Rule The deactivated price rule.
- 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
Fields
- •ID!
- •mutationDeprecated
- •ID!required
The ID of the price rule object.
Arguments
- Anchor to deletedPriceRuleIddeleted•ID
Price Rule Id The ID price of the deleted price rule.
- Anchor to priceRuleUserErrorsprice•[Price
Rule User Errors Rule User Error!]! non-null The list of errors that occurred from executing the mutation.
- Anchor to shopshop•Shop!non-null
The shop of the deleted price rule.
- Anchor to userErrorsuser•[User
Errors Error!]! non-nullDeprecated
Fields
- •ID!
- •mutationDeprecated
- Anchor to codecode•String!required
The code to create for the price rule.
- Anchor to priceRuleIdprice•ID!
Rule Id required The ID of the price rule object.
Arguments
- Anchor to priceRuleprice•Price
Rule Rule The updated 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
Fields
- •mutationDeprecated
- 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.
Arguments
- 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
Fields
- •mutationDeprecated
- •ID!required
ID of the price rule to update.
- Anchor to priceRuleprice•Price
Rule Rule Input! required The input fields to update a price rule.
- Anchor to priceRuleDiscountCodeprice•Price
Rule Discount Code Rule Discount Code Input The input fields to update the discount code of the price rule.
Arguments
- 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
Fields
- •ID!