Skip to main content

ProductImageCreateInput

Input for creating product image

input ProductImageCreateInput {
alt: String
image: Upload
product: ID!
externalId: String
externalSource: String
transferImageOwnership: Boolean
url: String
}

Fields

ProductImageCreateInput.alt ● String scalar

Alt text for the image.

ProductImageCreateInput.image ● Upload scalar

Image file to upload.

ProductImageCreateInput.product ● ID! non-null scalar

Product ID to associate image with.

ProductImageCreateInput.externalId ● String scalar

External ID for the image.

ProductImageCreateInput.externalSource ● String scalar

External source of the image.

ProductImageCreateInput.transferImageOwnership ● Boolean scalar

Transfer ownership of image.

ProductImageCreateInput.url ● String scalar

URL of the image to import.

Member Of

productImageCreate mutation

Was this page helpful?