Discounts
List discounts
List all discounts
get/discounts
Query parameters
namestring
Search discounts by name
filtersobject
Filter discounts by the above query parameters. <br /> <b>Example:</b> { "name[eq]" : "My Discount" } which will search for discounts with name = "My Discount".
sort[asc]'name' | 'percentage'
Sort discounts in ascending order
sort[desc]'name' | 'percentage'
Sort discounts in descending order
pageinteger
The particular page to return
per_pageinteger
The number of items to return per page Default: 50 Limit: 200
Response
Successful operation
Example response
{
"message": "success",
"discounts": [
{
"id": 1,
"user_id": 5,
"name": "ADICompany Annual Retainer Discount",
"fl1name": "Réduction sur l’abonnement annuel d’ADICompany",
"fl2name": "خصم سنوي لشركة ADI",
"description": "10% discount on ADICompany annual retainer",
"percentage": 10,
"created_by": 2,
"created_by_name": "Sarah Johnson",
"created_on": "2025-10-09T10:30:02.000000Z",
"modified_by": 2,
"modified_on": null
},
{
"id": 2,
"user_id": 6,
"name": "Corporate Retainer Discount",
"fl1name": "Réduction sur l’abonnement de service juridique d’entreprise",
"fl2name": "خصم على الاشتراك القانوني للشركات",
"description": "10% discount on annual corporate legal retainer services",
"percentage": 10,
"created_by": 3,
"created_by_name": "Joe Johnson",
"created_on": "2025-10-09T10:30:02.000000Z",
"modified_by": null,
"modified_on": null
}
]
}