Discounts
Discount items applied to the user's past orders
Lists discount items (promotional discount applications) used in the user's past orders.
Business Logic:
Only promotions where
conditional_offer.status = USEDIncludes discount records from all user orders
Each item includes: name, amount, order number, creation date, currency
Supports pagination
Sorted by newest first (
-created_date)
Page number (starts from 1)
1Example: 1Number of records per page
10Example: 10Use X-Cookie header instead of Cookie header in "try out" section. Use Cookie header while testing in postman or other tools. Some commerce applications may support 'sesionid' instead of 'osessionid'.
osessionid=abc123Language preference (for multilingual content). Supported languages: tr, en, ar, ru, de, fr
trExample: trPossible values: Successful response
Authentication credentials were not provided.
GET /account/discount-items/ HTTP/1.1
Host: sandbox.akinon.com
X-Cookie: osessionid=abc123
Accept: */*
{
"count": 45,
"next": "https://sandbox.akinon.com/account/discount-items/?page=2",
"previous": null,
"results": [
{
"name": "New Year Campaign",
"amount": "200.00",
"created_date": "2025-11-01T14:30:00Z",
"order_number": "ORD-2025-001234",
"currency": {
"value": "try",
"label": "TRY"
}
},
{
"name": "Welcome Discount",
"amount": "150.00",
"created_date": "2025-10-28T10:15:00Z",
"order_number": "ORD-2025-001200",
"currency": {
"value": "try",
"label": "TRY"
}
},
{
"name": "Free Shipping",
"amount": "0.00",
"created_date": "2025-10-25T16:45:00Z",
"order_number": "ORD-2025-001180",
"currency": {
"value": "try",
"label": "TRY"
}
},
{
"name": "20% Discount",
"amount": "180.50",
"created_date": "2025-10-20T12:00:00Z",
"order_number": "ORD-2025-001150",
"currency": {
"value": "try",
"label": "TRY"
}
}
]
}Last updated
Was this helpful?

