Skip to main content
Anchor to TranslationUserError

TranslationUserError

object

Requires read_translations access scope.

Represents an error that happens during the execution of a translation mutation.

•TranslationErrorCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!
non-null

The error message.


Was this section helpful?

•mutation

Creates or updates market localizations.

Arguments

•ID!
required

The ID of the resource that is being localized within the context of a market.

•[MarketLocalizationRegisterInput!]!
required

The input fields for a market localization.


•mutation

Deletes market localizations.

Arguments

•ID!
required

The ID of the resource for which market localizations are being deleted.

Anchor to marketLocalizationKeysmarketLocalizationKeys
•[String!]!
required

The list of market localization keys.

•[ID!]!
required

The list of market IDs.


•mutation

Creates or updates translations for a resource's translatable content.

Each translation requires a digest value from the resource's translatable content. Use the translatableResource query to get a resource's translatable content and digest values before creating translations. You can optionally scope translations to specific markets using the marketId field in each translation input.

Learn more about managing translations.

Arguments

•ID!
required

ID of the resource that is being translated.

•[TranslationInput!]!
required

Specifies the input fields for a translation.


•mutation

Deletes translations.

Arguments

•ID!
required

ID of the translatable resource for which translations are being deleted.

•[String!]!
required

The list of translation keys.

•[String!]!
required

The list of translation locales. Only locales returned in shopLocales are valid.

•[ID!]

The list of market IDs.



Was this section helpful?


Was this section helpful?