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

interface ProductTailoringRemoveImageAction {
    action: "removeImage";
    imageUrl: string;
    sku?: string;
    staged?: boolean;
    variantId?: number;
}

Properties

action: "removeImage"
imageUrl: string

The URL of the image to remove.

sku?: string

The sku of the tailored ProductVariant to update.

staged?: boolean

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

variantId?: number

The id of the tailored ProductVariant to update.