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

    Interface VariantAddAssetAction

    Adds an asset to existing variant's assets.

    interface VariantAddAssetAction {
        action: "addAsset";
        asset: AssetDraft;
        position?: number;
        staged?: boolean;
    }

    Hierarchy (View Summary)

    Index
    action: "addAsset"
    asset: AssetDraft

    Value to append.

    position?: number

    Position in assets where the Asset should be put. When specified, the value must be between 0 and the total number of Assets minus 1.

    staged?: boolean

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