Skip to main content

ProductUpdateImageInput

Attributes for updating an image.

For a new image, at least src should be provided.

input ProductUpdateImageInput {
altText: String
delete: Boolean
height: Int
id: ID
position: Int
src: Url
width: Int
}

Fields​

ProductUpdateImageInput.altText ● String scalar common​

ProductUpdateImageInput.delete ● Boolean scalar common​

Set to true to delete the tag (requires valid ID)

ProductUpdateImageInput.height ● Int scalar common​

ProductUpdateImageInput.id ● ID scalar common​

Image ID for update/delete operations (omit for creating new images)

ProductUpdateImageInput.position ● Int scalar common​

ProductUpdateImageInput.src ● Url scalar common​

ProductUpdateImageInput.width ● Int scalar common​

Member Of​

ProductUpdateInput input ● UpdateProductInput input