Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

DiscountError Object

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

Fields

field

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

message · String

The error message.

products

products · [ID!]

List of products IDs which causes the error.

code

code · DiscountErrorCode!

The error code.

channels

channels · [ID!]

List of channels IDs which causes the error.

voucherCodes

voucherCodes · [String!]

List of voucher codes which causes the error.

Used by


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?