Skip to main content

stageProductImport

Requires permission products:import:stage.

Enqueues the stage+validate background job once the file has been PUT to the presigned URL.

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:

mutation StageProductImport($importId: String!) {
stageProductImport(importId: $importId)
}

Variables:

{
"importId": "string"
}

Response:

{
"data": {
"stageProductImport": true
}
}
stageProductImport(
importId: String!
mappingOverride: JSON
): Boolean!

Arguments​

stageProductImport.importId ● String! non-null scalar​

The ID of the import.

stageProductImport.mappingOverride ● JSON scalar​

Column mapping that replaces the saved one for this import.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.