TanqoryDocs

tanqoryExtProductImports

  • Query
  • Products

The store's submitted product imports, newest first (at most 25): the Products page shows the latest one's progress.

Arguments

ArgumentTypeRequiredDefault
firstIntOptional1

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 TanqoryExtProductImports($first: Int) {\n  tanqoryExtProductImports(first: $first) {\n    count\n    createdAt\n    createdCount\n    errorMessage\n    failedCount\n    filename\n    finished\n    finishedAt\n    id\n    overwrite\n  }\n}","variables":{"first":5}}'

Built from commit c0b3fb3fdef7 · API version 2026-10