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

type ProductImageCreate {
product: Product
image: ProductImage
productErrors: [ProductError!]!
}

Fields

ProductImageCreate.product ● Product object

ProductImageCreate.image ● ProductImage object

ProductImageCreate.productErrors ● [ProductError!]! non-null object

Returned By

productImageCreate mutation

Was this page helpful?