@gradientedge/commercetools-utils
    Preparing search index...

    Interface ProductAddExternalImageAction

    Either variantId or sku is required. Produces the ProductImageAdded Message.

    interface ProductAddExternalImageAction {
        action: "addExternalImage";
        image: Image;
        sku?: string;
        staged?: boolean;
        variantId?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "addExternalImage"
    image: Image

    Value to add to images.

    sku?: string

    The sku of the ProductVariant to update.

    staged?: boolean

    If true, only the staged images is updated. If false, both the current and staged images is updated.

    variantId?: number

    The id of the ProductVariant to update.