TanqoryDocs

tanqoryExtProductImport

  • Query
  • Products

A product import of the store by id.

Arguments

ArgumentTypeRequiredDefault
idID!Required

Returns

TanqoryExtProductImport A product CSV import.

FieldTypeDescription
countInt!

The products in the file (one per URL handle).

createdAtDateTime!
createdCountInt!
errorMessageString

FAILED: why the run stopped.

failedCountInt!
fileErrors[TanqoryExtProductImportFileError!]!

The rows of the file that make no product.

filenameString

The file's name as uploaded.

finishedBoolean!

Whether the import has ended (COMPLETED, FAILED or CANCELED).

finishedAtDateTime
idID!
overwriteBoolean!

Products whose handle exists are updated from the file (true) or left as they are (false).

previewProducts[String!]!

The titles of the first products of the file, in file order (at most 250).

  • first: Int = 20
processedCountInt!

Products handled so far (created, updated, skipped and failed).

publishToAllChannelsBoolean!

New products are published to every sales channel (true) or as the file's Published on online store column says (false).

rows[TanqoryExtProductImportRow!]!

The import's products in file order (at most 250), optionally only those of some statuses.

skippedCountInt!
statusTanqoryExtProductImportStatus!
submittedAtDateTime
updatedCountInt!
variantCountInt!

The variant rows in the file.

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":"query TanqoryExtProductImport($id: ID!) {\n  tanqoryExtProductImport(id: $id) {\n    count\n    createdAt\n    createdCount\n    errorMessage\n    failedCount\n    filename\n    finished\n    finishedAt\n    id\n    overwrite\n  }\n}","variables":{"id":"gid://tanqory/Type/id"}}'

Built from commit c0b3fb3fdef7 · API version 2026-10