Skip to main content

productImport

Requires permission products:import:read.

Status/progress of one import.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query ProductImport($importId: String!) {
productImport(importId: $importId) {
id
status
createdAt
chunkCheckpoint
createCount
errorRows
}
}

Variables:

{
"importId": "string"
}

Response:

{
"data": {
"productImport": {
"id": "string",
"status": "COMMITTING",
"createdAt": "2025-01-15T00:00:00Z",
"chunkCheckpoint": 0,
"createCount": 0,
"errorRows": 0
}
}
}
productImport(
importId: String!
): ProductImportEntity!

Arguments​

productImport.importId ● String! non-null scalar​

The ID of the import.

Type​

ProductImportEntity object​

A product import and how far it has got.