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

    Interface ProductTailoringSetImageLabelAction

    Either variantId or sku is required to reference a ProductVariant that exists.

    interface ProductTailoringSetImageLabelAction {
        action: "setImageLabel";
        imageUrl: string;
        label?: string;
        sku?: string;
        staged?: boolean;
        variantId?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "setImageLabel"
    imageUrl: string

    The URL of the image to set the label.

    label?: string

    Value to set. If empty, any existing value will be removed.

    sku?: string

    The sku of the tailored ProductVariant to update.

    staged?: boolean

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

    variantId?: number

    The id of the tailored ProductVariant to update.