interface DiscountGroup {
    createdAt: string;
    createdBy?: CreatedBy;
    description?: LocalizedString;
    id: string;
    key: string;
    lastModifiedAt: string;
    lastModifiedBy?: LastModifiedBy;
    name?: LocalizedString;
    sortOrder: string;
    version: number;
}

Hierarchy (View Summary)

Properties

createdAt: string

Date and time (UTC) the DiscountGroup was initially created.

createdBy?: CreatedBy

IDs and references that created the DiscountGroup.

description?: LocalizedString

Description of the DiscountGroup.

id: string

Unique identifier of the DiscountGroup.

key: string

User-defined unique identifier of the DiscountGroup.

lastModifiedAt: string

Date and time (UTC) the DiscountGroup was last updated.

lastModifiedBy?: LastModifiedBy

IDs and references that last modified the DiscountGroup.

Name of the DiscountGroup.

sortOrder: string

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

The sort order is unique among all DiscountGroups and CartDiscounts.
version: number

Current version of the DiscountGroup.