TanqoryDocs

tanqoryExtTranslationsImport

  • Mutation
  • Markets, tax and languages

Imports translations from a CSV file in the export's columns (an earlier Tanqory file with a Content digest column is read too), sent in parts of at most 500,000 characters, in order: the first call has no jobId and its part starts with the header row (INVALID when a needed column is missing); each later call names the job; the call with last: true queues it. At most 100 parts (TOO_LARGE). Each row is checked and saved on its own: a row with no translated content, or whose translated content equals the saved translation, is skipped; a saved translation is replaced only with overwrite: true (set on the first call); a row whose Default content is not the item's current content is saved as outdated; a failed row is reported with its line in rowErrors.

Arguments

ArgumentTypeRequiredDefault
jobIdIDOptional
lastBoolean!Required
overwriteBooleanOptional
partString!Required

Returns

TanqoryExtTranslationJobPayload

Example request

A starting point: required arguments as variables and a few fields of the result. Replace the placeholders.

Set STORE_ID and TANQORY_ACCESS_TOKEN in your environment first (Make your first API call).

curl
curl -X POST "https://api.tanqory.com/admin/2026-10/stores/$STORE_ID/graphql" \
  -H "Authorization: Bearer $TANQORY_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{"query":"mutation TanqoryExtTranslationsImport($last: Boolean!, $part: String!) {\n  tanqoryExtTranslationsImport(last: $last, part: $part) {\n    job { id }\n    userErrors {\n      code\n      field\n      message\n    }\n  }\n}","variables":{"last":false,"part":""}}'

Built from commit c0b3fb3fdef7 · API version 2026-10