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

•[MarketLocalizationRegisterInput!]!required

The input fields for a market localization.

•ID!required

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


Fields

•[MarketLocalization!]

The market localizations that were created or updated.

•[TranslationUserError!]!non-null

The list of errors that occurred from executing the mutation.

•mutation

Deletes market localizations.

Arguments

•[ID!]!required

The list of market IDs.

Anchor to marketLocalizationKeysmarketLocalizationKeys
•[String!]!required

The list of market localization keys.

•ID!required

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


Fields

•[MarketLocalization!]

The market localizations that were deleted.

•[TranslationUserError!]!non-null

The list of errors that occurred from executing the mutation.

•mutation

Creates or updates translations.

Arguments

•ID!required

ID of the resource that is being translated.

•[TranslationInput!]!required

Specifies the input fields for a translation.


Fields

•[Translation!]

The translations that were created or updated.

•[TranslationUserError!]!non-null

The list of errors that occurred from executing the mutation.

•mutation

Deletes translations.

Arguments

•[String!]!required

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

•[ID!]

The list of market IDs.

•ID!required

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

•[String!]!required

The list of translation keys.


Fields

•[Translation!]

The translations that were deleted.

•[TranslationUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?


Was this section helpful?
OSZAR »