VoucherTranslatableContent Object
Represents voucher’s original translatable fields and related translations.
type VoucherTranslatableContent implements Node {
id: ID!
voucherId: ID!
name: String
translation(languageCode: LanguageCodeEnum!): VoucherTranslation
voucher: Voucher @deprecated(reason: "Get model fields from the root level queries.")
}
Interfaces
Fields
id
id · ID!
The ID of the voucher translatable content.
voucherId
voucherId · ID!
The ID of the voucher to translate.
name
name · String
Voucher name to translate.
translation
translation · VoucherTranslation
Returns translated voucher fields for the given language code.
languageCode
languageCode · LanguageCodeEnum!
A language code to return the translation for voucher.
voucher
voucher · Voucher
Vouchers allow giving discounts to particular customers on categories, collections or specific products. They can be used during checkout by providing valid voucher codes.
Used by
Schema: Saleor 3.23.43. Download SDL.