Skip to main content

productBulkTranslate Mutation

Creates/updates translations for products.

Requires the MANAGE_TRANSLATIONSpermission.

Triggers the following webhook events:

  • TRANSLATION_CREATED (async): Called when a translation was created.
  • TRANSLATION_UPDATED (async): Called when a translation was updated.
productBulkTranslate(
errorPolicy: ErrorPolicyEnum
translations: [ProductBulkTranslateInput!]!
): ProductBulkTranslate
Details
type ProductBulkTranslate {
count: Int!
results: [ProductBulkTranslateResult!]!
errors: [ProductBulkTranslateError!]!
}

Arguments

errorPolicy ● ErrorPolicyEnum

Policies of error handling. DEFAULT: REJECT_EVERYTHING

translations ● [ProductBulkTranslateInput!]!

List of product translations.

Type

ProductBulkTranslate

Creates/updates translations for products.

Requires the MANAGE_TRANSLATIONSpermission.

Triggers the following webhook events:

  • TRANSLATION_CREATED (async): Called when a translation was created.
  • TRANSLATION_UPDATED (async): Called when a translation was updated.