Skip to main content

CreateProductImageInput

No description

input CreateProductImageInput {
productId: ID!
data: Upload!
externalId: String
type: [ProductImageType!]
}

Fields

CreateProductImageInput.productId ● ID! non-null scalar

Product ID to which the image should be attached.

CreateProductImageInput.data ● Upload! non-null scalar

Image file. It is better to upload images on the plain color background.

CreateProductImageInput.externalId ● String scalar

Reference to a product image in your system.

CreateProductImageInput.type ● [ProductImageType!] list enum

Parsed body data. It's a string that represents the body data of the image. It's used for try on generation.

Member Of

createProductImage mutation