It contains the discounts provided to the users.
Value | Description |
---|---|
name Type: string Required | Name of the discount.
|
rule_type Type: string Required | Rule type defines whether the discount is product based or order based.
|
amount Type: number Required | Amount of the discount.
|
apply_on Type: string | |
apply_on Type: string | |
enabled Type: string | Select the checkbox to enable discounts.
|
advance_settings Type: string | Enable the advance settings, if you want to apply conditions to the discount.
|
apply_with Type: string | |
validity Type: string | The duration for which the discount will be applicable.
|
number_of_uses Type: number | Maximum usage of the discount allowed.
|
start_date Type: string | Starting date and time for application of the discount.
|
end_date Type: string | Date and time at which the discount expires.
|
seller Type: string | Seller for which the discount is applicable.
|
use_count Type: string | Number of times the discount is to be used.
|