Generated after a successful Add External Image update action or after the successful upload of an image.

interface ProductImageAddedMessagePayload {
    image: Image;
    staged: boolean;
    type: "ProductImageAdded";
    variantId: number;
}

Properties

image: Image

Image that was added.

staged: boolean

Whether the update was only applied to the staged Product Projection.

type: "ProductImageAdded"
variantId: number

Unique identifier of the Product Variant to which the Image was added.

Generated using TypeDoc