Discount list
GET /Discounts
Returns the list of discounts defined in the restaurant. Both the restaurant's own discounts and the discounts assigned to the restaurant from headquarters are returned together.
Sample request
Discount list
curl -X GET "https://ext.adisyo.com/api/External/v2/Discounts" \
--header "x-api-key: ..." \
--header "x-api-secret: ..." \
--header "x-api-consumer: ..."Request parameters
This endpoint does not require any additional parameters.
Sample response
Discount list
{
"discounts": [
{
"id": 34,
"name": "Personel İndirimi",
"discountType": 1,
"discountTypeName": "Yüzde İndirimi",
"amount": 10.00,
"discountStartDate": null,
"discountFinishDate": null
},
{
"id": 77,
"name": "Hediye Ürün",
"discountType": 2,
"discountTypeName": "Tutar İndirimi",
"amount": 50.00,
"discountStartDate": "2026-07-01T00:00:00",
"discountFinishDate": "2026-08-31T00:00:00"
}
],
"status": 100,
"message": "İşlem Başarılı."
}Response parameters
| Parameter | Data Type | Description |
|---|---|---|
id | Number | Adisyo ID of the discount. Used as discountId in the Order discount endpoint |
name | String | Name of the discount |
discountType | Number | Discount type. 1 Percentage discount, 2 Amount discount |
discountTypeName | String | Name of the discount type |
amount | Decimal | Value of the discount. Interpreted as a rate for percentage type, as an amount for amount type |
discountStartDate | DateTime? | Start of validity. When set, the discount cannot be applied before this date |
discountFinishDate | DateTime? | End of validity. When set, the discount cannot be applied after this date |
status | Number | Response Codes |
message | String | Result message |
A discount outside its validity period may still appear in this list, but it is rejected by the Order discount endpoint.