Skip to main content

voucherTranslate Mutation

Creates/updates translations for a voucher.

Requires MANAGE_TRANSLATIONSpermission.
voucherTranslate(
id: ID!
input: NameTranslationInput!
languageCode: LanguageCodeEnum!
): VoucherTranslate

Arguments

voucherTranslate.id ● ID! non-null scalar miscellaneous

Voucher ID or VoucherTranslatableContent ID.

voucherTranslate.input ● NameTranslationInput! non-null input miscellaneous

Fields required to update voucher translations.

voucherTranslate.languageCode ● LanguageCodeEnum! non-null enum miscellaneous

Translation language code.

Type

VoucherTranslate object discounts

Creates/updates translations for a voucher.

Requires MANAGE_TRANSLATIONSpermission.