VoucherTranslatableContent
No description
type VoucherTranslatableContent implements Node {
id: ID!
name: String
translation(languageCode: LanguageCodeEnum!): VoucherTranslation
voucher: Voucher @deprecated
}
Fields
VoucherTranslatableContent.id
● ID!
non-null scalar
VoucherTranslatableContent.name
● String
scalar
VoucherTranslatableContent.translation
● VoucherTranslation
object
Returns translated voucher fields for the given language code.
VoucherTranslatableContent.translation.languageCode
●LanguageCodeEnum!
non-null enumA language code to return the translation for voucher.
VoucherTranslatableContent.voucher
● Voucher
deprecated object
DEPRECATEDThis field will be removed in Saleor 4.0. Get model fields from the root level queries.
Vouchers allow giving discounts to particular customers on categories, collections or specific products. They can be used during checkout by providing valid voucher codes.
Interfaces
Node
interface
An object with an ID
Implemented by
TranslatableItem
union
Was this page helpful?