Skip to main content

productImageCreate

Create a product image. If URL is present, image will be taken from provided URL. If 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

productImageCreate(
input: ProductImageCreateInput!
): ProductImageCreate

Arguments

productImageCreate.input ● ProductImageCreateInput! non-null input

Fields required to create a product image.

Type

ProductImageCreate object

Create a product image. If URL is present, image will be taken from provided URL. If 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?