productVariantBulkTranslate Mutation
Creates/updates translations for product variants.
Triggers the following webhook events:
- TRANSLATION_CREATED (async): A translation was created.
- TRANSLATION_UPDATED (async): A translation was updated.
Applied directives
@webhookEventsInfo(asyncEvents: [TRANSLATION_CREATED, TRANSLATION_UPDATED], syncEvents: [])
productVariantBulkTranslate(errorPolicy: ErrorPolicyEnum, translations: [ProductVariantBulkTranslateInput!]!): ProductVariantBulkTranslate
Returns
Show return type
type ProductVariantBulkTranslate {
count: Int!
results: [ProductVariantBulkTranslateResult!]!
errors: [ProductVariantBulkTranslateError!]!
}Arguments
errorPolicy
errorPolicy · ErrorPolicyEnum
Policies of error handling. DEFAULT: REJECT_EVERYTHING
translations
translations · [ProductVariantBulkTranslateInput!]!
List of product variant translations.
Schema: Saleor 3.23.43. Download SDL.