Discounts
Get discount
View all discounts
get/discounts/{id}
Path parameters
idinteger required
ID of the discount to retrieve
Response
Successful operation
Example response
{
"message": "Discount retrieved successfully.",
"discount": {
"id": 1,
"user_id": 5,
"name": "ADI Company 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
}
}