interface DiscountGroupDraft {
    description?: LocalizedString;
    key: string;
    name?: LocalizedString;
    sortOrder: string;
}

Properties

description?: LocalizedString

Description for the DiscountGroup.

key: string

User-defined unique identifier for the DiscountGroup.

Name of the DiscountGroup.

sortOrder: string

Value between 0 and 1 that determines the order in which the CartDiscount from the DiscountGroup will be applied; a CartDiscount with a higher value will be prioritized.

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