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
- PromotionBulkDelete (objects)
- SaleAddCatalogues (objects)
- SaleBulkDelete (objects)
- SaleChannelListingUpdate (objects)
- SaleCreate (objects)
- SaleDelete (objects)
- SaleRemoveCatalogues (objects)
- SaleUpdate (objects)
- VoucherAddCatalogues (objects)
- VoucherBulkDelete (objects)
- VoucherChannelListingUpdate (objects)
- VoucherCreate (objects)
- VoucherDelete (objects)
- VoucherRemoveCatalogues (objects)
- VoucherUpdate (objects)
Schema: Saleor 3.23.43. Download SDL.