Skip to main content

saleTranslate Mutation

Creates/updates translations for a sale.

DEPRECATED: this mutation will be removed in Saleor 4.0. Use PromotionTranslate mutation instead.

Requires MANAGE_TRANSLATIONSpermission.
saleTranslate(
id: ID!
input: NameTranslationInput!
languageCode: LanguageCodeEnum!
): SaleTranslate

Arguments

saleTranslate.id ● ID! non-null scalar miscellaneous

Sale ID or SaleTranslatableContent ID.

saleTranslate.input ● NameTranslationInput! non-null input miscellaneous

Fields required to update sale translations.

saleTranslate.languageCode ● LanguageCodeEnum! non-null enum miscellaneous

Translation language code.

Type

SaleTranslate object discounts

Creates/updates translations for a sale.

DEPRECATED: this mutation will be removed in Saleor 4.0. Use PromotionTranslate mutation instead.

Requires MANAGE_TRANSLATIONSpermission.