Skip to main content

ProductImageCreateInput

No description

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

Fields

ProductImageCreateInput.alt ● String scalar

Alt text for an image.

ProductImageCreateInput.image ● Upload scalar

Represents an image file in a multipart request. Either an image or a url must be provided.

ProductImageCreateInput.url ● String scalar

URL of image to upload. Either an image or a url must be provided.

ProductImageCreateInput.product ● ID! non-null scalar

ID of an product.

ProductImageCreateInput.transferImageOwnership ● Boolean scalar

Only for use by Marketplace Operator, if true then the image ownership will transfer to the seller that owns the product it is being assigned to, if false or not provided then image ownership will not transfer.

ProductImageCreateInput.externalId ● String scalar

External ID of the product image if originating from outside the system.

ProductImageCreateInput.externalSource ● String scalar

External source of the product image if originating from outside the system.

Member Of

productImageCreate mutation

Was this page helpful?