DiscountError
No description
type DiscountError {
field: String
message: String
products: [ID!]
code: DiscountErrorCode!
channels: [ID!]
voucherCodes: [String!]
}
Fields
DiscountError.field
● String
scalar miscellaneous
Name of a field that caused the error. A value of
null
indicates that the error isn't associated with a particular field.
DiscountError.message
● String
scalar miscellaneous
The error message.
DiscountError.products
● [ID!]
list scalar miscellaneous
List of products IDs which causes the error.
DiscountError.code
● DiscountErrorCode!
non-null enum discounts
The error code.
DiscountError.channels
● [ID!]
list scalar miscellaneous
List of channels IDs which causes the error.
DiscountError.voucherCodes
● [String!]
list scalar miscellaneous
List of voucher codes which causes the error.
Added in Saleor 3.18
Member Of
PromotionBulkDelete
object ● SaleAddCatalogues
object ● SaleBulkDelete
object ● SaleChannelListingUpdate
object ● SaleCreate
object ● SaleDelete
object ● SaleRemoveCatalogues
object ● SaleUpdate
object ● VoucherAddCatalogues
object ● VoucherBulkDelete
object ● VoucherChannelListingUpdate
object ● VoucherCreate
object ● VoucherDelete
object ● VoucherRemoveCatalogues
object ● VoucherUpdate
object