Skip to main content

approveProductImport

Requires permission products:import:approve.

The human approval gate — locks the commit mode, resolves shared references, and enqueues the chunked commit.

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 ApproveProductImport($input: ApproveProductImportInput!) {
approveProductImport(input: $input)
}

Variables:

{
"input": {
"importId": "string"
}
}

Response:

{
"data": {
"approveProductImport": true
}
}
approveProductImport(
input: ApproveProductImportInput!
): Boolean!

Arguments​

approveProductImport.input ● ApproveProductImportInput! non-null input​

The details of the approve product import request.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.