---
title: "Discount Groups"
canonical: "https://docs.dk.is/space/DKPLUS/7897246/Discount%20Groups"
format: markdown
---
DK offers the ability to define quantity discounts and special prices


To get these information you will use the "[Record](https://apidoc.dkplus.is/#de9d0e23-6b20-4370-8418-7110fd91cbc4)" methods in the API

a get records from the discount table


## Special Prices

to get the prices you need to query the table "INPRDISC" and the fields you need to implement your functionallity

```
https://api.dkplus.is/api/v1/general/table/INPRDISC/records?modified=1900-01-01T00:00:00.0000000&fields=RecordId,RecordModified,Customer,CustomerGroup,CustomerPriceType,Item,ItemGroup,ItemPriceType,DiscountPercent,ToDate,DiscountGroupId,UseTimePeriod,ActiveSunday,SundayTimeFrom,SundayTimeTo,ActiveMonday,MondayTimeFrom,MondayTimeTo,ActiveTuesday,TuesdayTimeFrom,TuesdayTimeTo,ActiveWednesday,WednesdayTimeFrom,WednesdayTimeTo,ActiveThursday,ThursdayTimeFrom,ThursdayTimeTo,ActiveFriday,FridayTimeFrom,FridayTimeTo,ActiveSaturday,SaturdayTimeFrom,SaturdayTimeTo,ExtraGroup,UnitPriceType
```


## Quantity Discount

To get quantity discount percentage you can query the inqudisc table

```
https://api.dkplus.is/api/v1/general/table/INQUDISC/records?modified=1900-01-01T00:00:00.0000000&fields=RecordId,RecordModified,TypeOfQuantityDiscount,DiscountSpecialPriceId,Quantity,Discount
```



##### **Example Response**

```plaintext
    {
        "RECORDID": "11",
        "RECORDMODIFIED": "2014-08-08T10:19:36.120Z",
        "CUSTOMER": "*",
        "CUSTOMERPRICETYPE": "0",
        "ITEM": "Mail_Exchange_extra",
        "ITEMPRICETYPE": "0",
        "DISCOUNTPERCENT": "0",
        "TODATE": "31.08.2025",
        "USETIMEPERIOD": "false",
        "ACTIVESUNDAY": "false",
        "ACTIVEMONDAY": "false",
        "ACTIVETUESDAY": "false",
        "ACTIVEWEDNESDAY": "false",
        "ACTIVETHURSDAY": "false",
        "ACTIVEFRIDAY": "false",
        "ACTIVESATURDAY": "false",
        "UNITPRICETYPE": "0"
    }
```


> ℹ️ **Wildcards**
> ℹ️ 
> ℹ️ Note that the char "*" is a wildcard and implies ALL