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

    Interface DiscountGroupSetSortOrderAction

    Setting the sort order generates the DiscountGroupSortOrderSet Message.

    interface DiscountGroupSetSortOrderAction {
        action: "setSortOrder";
        sortOrder: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    action: "setSortOrder"
    sortOrder: string

    New value to set (between 0 and 1). A CartDiscount with a higher value will be prioritized.

    The sort order must be unique among all DiscountGroups and CartDiscounts.