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

productImageBulkCreate(
input: [ProductImageBulkCreateInput!]!
product: ID!
): ProductImageBulkCreate

Arguments

productImageBulkCreate.input ● [ProductImageBulkCreateInput!]! non-null input

Fields required to create one or more product images

productImageBulkCreate.product ● ID! non-null scalar

ID of a product.

Type

ProductImageBulkCreate object

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

Was this page helpful?