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

    Interface VariantSetAssetsAction

    Sets the assets of the Variant. Existing assets will be replaced with the new ones.

    interface VariantSetAssetsAction {
        action: "setAssets";
        assets: AssetDraft[];
        staged?: boolean;
    }

    Hierarchy (View Summary)

    Index
    action: "setAssets"
    assets: AssetDraft[]

    Assets to set for the Variant.

    staged?: boolean

    Whether only the staged assets are set. If false, both the current and staged assets are updated.