Discounts
Queryable, Introduced in version 24.8
GET https://localhost:8001/sv/001.1/api/v1/Common/Discounts
Represents a queryable discount.
Change log
Filter EntityChangeLog.EntityTypeId by the GUID below to find changes to this entity. See Entity GUIDs for how entity GUIDs are used.
7aa88dae-75ac-48dd-9502-b29fdaf1fa5b
Required permission
Show discounts
Properties
| Name | Type | Summary | Introduced in |
|---|---|---|---|
| Id | Int64 | The business key identifier of the discount. |
|
| Code | String | The human readable identifier of the discount.
|
|
| Name | String | The translated name of the discount. |
|
| IsActive | Boolean | Specifies if the discount is active. |
|
| IsDefault | Boolean | Specifies if this is the default discount for the discount type. |
|
| DiscountForModule | Int32 | The sales or purchase module of the discount.
|
|
| DiscountType | Int32 | The type of the discount.
|
|
| Priority | Int32 | The priority of the discount. |
|
| DiscountCalculationType | Int32 | The calculation type of the discount.
|
Example
{
"Id": 0,
"Code": null,
"Name": null,
"IsActive": false,
"IsDefault": false,
"DiscountForModule": 0,
"DiscountType": 0,
"Priority": 0,
"DiscountCalculationType": 0
}