Skip to main content

startImageSourcing

Requires permission catalog:copilot:parse.

Build an ImageSourcingProposal card for variants missing images (or an explicit variant scope).

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 StartImageSourcing($input: StartImageSourcingInput!) {
startImageSourcing(input: $input) {
cardId
matched
unmatched
}
}

Variables:

{
"input": {
"sessionId": "id"
}
}

Response:

{
"data": {
"startImageSourcing": {
"cardId": "string",
"matched": 0,
"unmatched": 0
}
}
}
startImageSourcing(
input: StartImageSourcingInput!
): ImageSourcingStartResult!

Arguments​

startImageSourcing.input ● StartImageSourcingInput! non-null input​

The details of the image sourcing to start.

Type​

ImageSourcingStartResult object​

The result of starting to find images for variants.