Discount information.

interface ShopifyDiscount {
    amount?: ShopifyMoney;
    applicationType?: string;
    title?: string;
    value?: number;
    valueType?: string;
}

Properties

amount?: ShopifyMoney

The discount amount.

applicationType?: string

How the discount is applied (e.g., "AUTOMATIC", "CODE").

title?: string

The title/name of the discount.

value?: number

The numeric discount value.

valueType?: string

The type of discount value (e.g., "PERCENTAGE", "FIXED_AMOUNT").