Discounts
Update Discount
Update an existing discount record
put/discounts/{id}
Path parameters
idinteger required
Discount Id
Request body
Example request
{
"name": "Startup Legal Boost Discount",
"fl1name": "Réduction Lancement Juridique pour Startups",
"fl2name": "خصم دعم الشركات الناشئة القانونية",
"description": "20% off all LegalTech plans for new startups during their first year.",
"percentage": 20
}Response
Discount has been updated successfully.
Example response
{
"discount": {
"id": 1,
"user_id": 12,
"name": "Startup Legal Boost Discount",
"fl1name": "Réduction Lancement Juridique pour Startups",
"fl2name": "خصم دعم الشركات الناشئة القانونية",
"description": "20% off all LegalTech plans for new startups during their first year.",
"percentage": 20,
"created_by": 2,
"created_by_name": "Sarah Johnson",
"created_on": "2025-10-09T10:30:02.000000Z",
"modified_by": 12,
"modified_on": "2025-10-09T11:00:00.000000Z"
}
}