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

    Interface ProductTailoringAddExternalImageAction

    Either variantId or sku is required to reference a ProductVariant that exists. Produces the ProductTailoringImageAdded Message.

    interface ProductTailoringAddExternalImageAction {
        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 tailored 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 tailored ProductVariant to update.