Skip to main content

BatchProductImageInput

A single product image, identified by its position. Read back as an entry in product.media.images

input BatchProductImageInput {
index: Int!
url: UnsanitizedString!
}

Fields​

index ● Int!​

The position of the image, starting at 1 and matching index in product.media.images

url ● UnsanitizedString!​

URL the image is fetched from. Must be absolute and reachable by the importer

Example​

{
"index": 1,
"url": "https://example.com/images/12345-1.jpg"
}