Skip to content

Validate Import (GraphQL)

Runs validation over the uploaded file without importing any data. This is the second step of the import lifecycle (after the import is created).

The response carries an isValid flag. When isValid is false, inspect the import's error counts and download the error report over REST to see which rows failed.

Permission: settings.data_transfer.imports.edit.

Prerequisites

The example uses an illustrative importId. Replace it with the id of a data transfer import that exists in your store — use the adminSettingsDataTransferImports query to discover valid ids.

Released under the MIT License.