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

    Interface ProductTailoringSetAssetTagsAction

    Either variantId or sku is required to reference a ProductVariant that exists. The Asset to update must be specified using either assetId or assetKey.

    interface ProductTailoringSetAssetTagsAction {
        action: "setAssetTags";
        assetId?: string;
        assetKey?: string;
        sku?: string;
        staged?: boolean;
        tags?: string[];
        variantId?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "setAssetTags"
    assetId?: string

    The id of the Asset to update.

    assetKey?: string

    The key of the Asset to update.

    sku?: string

    The sku of the tailored ProductVariant to update.

    staged?: boolean

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

    tags?: string[]

    Keywords for categorizing and organizing Assets.

    variantId?: number

    The id of the tailored ProductVariant to update.