Skip to main content

ProductImageBulkCreate

Create one or more product images. For each image, if URL is present, image will be taken from provided URL. If any image has no URL provided, then this mutation must be sent as a multipart request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec

type ProductImageBulkCreate {
product: Product
images: [ProductImage!]!
bulkProductImageErrors: [BulkProductImageError!]!
}

Fields

ProductImageBulkCreate.product ● Product object

ProductImageBulkCreate.images ● [ProductImage!]! non-null object

List of the created images.

ProductImageBulkCreate.bulkProductImageErrors ● [BulkProductImageError!]! non-null object

Returned By

productImageBulkCreate mutation

Was this page helpful?