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

    Interface VariantBulkUpdate

    The request body for a bulk update of Variants.

    interface VariantBulkUpdate {
        actions: VariantUpdateAction[];
        items: VariantBulkUpdateItem[];
    }
    Index

    The update action to apply to each Variant. Only Publish and Unpublish actions are supported. An empty array results in a no-op: all items are returned as successful with no changes applied.

    List of Variants to update. Each item must identify the Variant by id or key.