Skip to main content
object

Represents an error that happens during execution of a price rule mutation.

•PriceRuleErrorCode

Error code to uniquely identify the error.

•[String!]

The path to the input field that caused the error.

•String!
non-null

The error message.


Was this section helpful?

Deprecated mutations

•mutation
Deprecated

Arguments

•ID!
required

ID of the price rule to update.


Fields

•PriceRule

The activated price rule.

•[PriceRuleUserError!]!
non-null

The list of errors that occurred from executing the mutation.

•[UserError!]!
non-nullDeprecated
•mutation
Deprecated

Arguments

•PriceRuleInput!
required

The input fields to create a price rule.

Anchor to priceRuleDiscountCodepriceRuleDiscountCode
•PriceRuleDiscountCodeInput

The input fields to create a discount code for the price rule.


Fields

•PriceRule

The newly created price rule.

Anchor to priceRuleDiscountCodepriceRuleDiscountCode
•PriceRuleDiscountCode

The newly created discount code.

•[PriceRuleUserError!]!
non-null

The list of errors that occurred from executing the mutation.

•[UserError!]!
non-nullDeprecated
•mutation
Deprecated

Arguments

•ID!
required

ID of the price rule to update.


Fields

•PriceRule

The deactivated price rule.

•[PriceRuleUserError!]!
non-null

The list of errors that occurred from executing the mutation.

•[UserError!]!
non-nullDeprecated
•mutation
Deprecated

Arguments

•ID!
required

The ID of the price rule object.


Fields

•ID

The ID price of the deleted price rule.

•[PriceRuleUserError!]!
non-null

The list of errors that occurred from executing the mutation.

•Shop!
non-null

The shop of the deleted price rule.

•[UserError!]!
non-nullDeprecated
•mutation
Deprecated

Arguments

•String!
required

The code to create for the price rule.

•ID!
required

The ID of the price rule object.


Fields

•PriceRule

The updated price rule.

Anchor to priceRuleDiscountCodepriceRuleDiscountCode
•PriceRuleDiscountCode

The newly created discount code.

•[PriceRuleUserError!]!
non-null

The list of errors that occurred from executing the mutation.

•[UserError!]!
non-nullDeprecated
•mutation
Deprecated

Arguments

•String!
required

The new code of a price rule.

•ID!
required

The ID of the price rule object.


Fields

•PriceRule

The updated price rule.

Anchor to priceRuleDiscountCodepriceRuleDiscountCode
•PriceRuleDiscountCode

The updated discount code.

•[PriceRuleUserError!]!
non-null

The list of errors that occurred from executing the mutation.

•[UserError!]!
non-nullDeprecated
•mutation
Deprecated

Arguments

•ID!
required

ID of the price rule to update.

•PriceRuleInput!
required

The input fields to update a price rule.

Anchor to priceRuleDiscountCodepriceRuleDiscountCode
•PriceRuleDiscountCodeInput

The input fields to update the discount code of the price rule.


Fields

•PriceRule

The updated price rule.

Anchor to priceRuleDiscountCodepriceRuleDiscountCode
•PriceRuleDiscountCode

The updated discount code.

•[PriceRuleUserError!]!
non-null

The list of errors that occurred from executing the mutation.

•[UserError!]!
non-nullDeprecated

Was this section helpful?


Was this section helpful?