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

    Interface StoreSetProductSelectionsAction

    Instead of adding or removing Product Selections individually, you can also change all the Store's Product Selections in one go using this update action. The Store will only contain the Product Selections specified in the request.

    interface StoreSetProductSelectionsAction {
        action: "setProductSelections";
        productSelections?: ProductSelectionSettingDraft[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "setProductSelections"
    productSelections?: ProductSelectionSettingDraft[]

    Value to set.

    - If provided, Product Selections for which `active` is set to `true` are available in the Store.
    - If not provided or provided as empty array, the action removes all Product Selections from this Store, meaning all Products in the [Project](ctp:api:type:Project) are available in this Store.