Skip to main content

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
}

Fields​

id ● ID!​

The ID of the voucher translatable content.

voucherId ● ID!​

The ID of the voucher to translate.

name ● String​

Voucher name to translate.

translation ● VoucherTranslation​

Returns translated voucher fields for the given language code.

languageCode ● LanguageCodeEnum!​

A language code to return the translation for voucher.

Show deprecatedHide deprecated

voucher ● Voucher​

DEPRECATED

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.

Requires the MANAGE_DISCOUNTSpermission.

Interfaces​

Node​

An object with an ID

Member Of​

VoucherTranslation object

Implemented By​

TranslatableItem union