Skip to main content
Version: 3.x

DiscountError

No description

type DiscountError {
field: String
message: String
products: [ID!]
code: DiscountErrorCode!
channels: [ID!]
}

Fields

field (String)

Name of a field that caused the error. A value of null indicates that the error isn't associated with a particular field.

message (String)

The error message.

products ([ID!])

List of products IDs which causes the error.

code (DiscountErrorCode!)

The error code.

channels ([ID!])

List of channels IDs which causes the error.