Skip to main content

TranslationTypes Union

No description

union TranslationTypes =
| ProductTranslation
| CollectionTranslation
| CategoryTranslation
| AttributeTranslation
| AttributeValueTranslation
| ProductVariantTranslation
| PageTranslation
| ShippingMethodTranslation
| VoucherTranslation
| MenuItemTranslation
| PromotionTranslation
| PromotionRuleTranslation
| SaleTranslation

Possible types

TranslationTypes.ProductTranslation object products

Represents product translations.

TranslationTypes.CollectionTranslation object products

Represents collection translations.

TranslationTypes.CategoryTranslation object products

Represents category translations.

TranslationTypes.AttributeTranslation object attributes

Represents attribute translations.

TranslationTypes.AttributeValueTranslation object attributes

Represents attribute value translations.

TranslationTypes.ProductVariantTranslation object products

Represents product variant translations.

TranslationTypes.PageTranslation object pages

Represents page translations.

TranslationTypes.ShippingMethodTranslation object shipping

Represents shipping method translations.

TranslationTypes.VoucherTranslation object discounts

Represents voucher translations.

TranslationTypes.MenuItemTranslation object menu

Represents menu item translations.

TranslationTypes.PromotionTranslation object discounts

Represents promotion translations.

TranslationTypes.PromotionRuleTranslation object discounts

Represents promotion rule translations.

TranslationTypes.SaleTranslation object discounts

Represents sale translations.

DEPRECATED: this type will be removed in Saleor 4.0. Use PromotionTranslation instead.

Member Of

TranslationCreated object ● TranslationUpdated object