Skip to main content

ProductImage

Represents a product image.

type ProductImage implements Node {
id: ID!
alt: String
sortOrder: Int
externalId: String
externalSource: String
auditEvents(
before: String
after: String
first: Int
last: Int
): ProductImageAuditEventCountableConnection!
url(
size: Int
): String!
}

Fields

ProductImage.id ● ID! non-null scalar

The Globally Unique ID of this object

ProductImage.alt ● String scalar

Alt text for the image

ProductImage.sortOrder ● Int scalar

Sort order of the image

ProductImage.externalId ● String scalar

External system identifier

ProductImage.externalSource ● String scalar

External system source

ProductImage.auditEvents ● ProductImageAuditEventCountableConnection! non-null object

Database-level audit trail for this product image (requires MANAGE_PRODUCTS).

ProductImage.auditEvents.before ● String scalar

Returns the items in the list that come before the specified cursor.

ProductImage.auditEvents.after ● String scalar

Returns the items in the list that come after the specified cursor.

ProductImage.auditEvents.first ● Int scalar

Returns the first n items from the list.

ProductImage.auditEvents.last ● Int scalar

Returns the items in the list that come after the specified cursor.

ProductImage.url ● String! non-null scalar

The URL of the image

ProductImage.url.size ● Int scalar

Interfaces

Node interface

An object with a Globally Unique ID

Member Of

Product object ● ProductImageBulkCreate object ● ProductImageCountableEdge object ● ProductImageCreate object ● ProductImageDelete object ● ProductImageReorder object ● ProductImageUpdate object ● ProductVariant object ● ProductVariantImageAssign object ● ProductVariantImageBulkAssign object ● ProductVariantImageUnassign object

Was this page helpful?