Light Mode
Special Offer Details
GET
/specialoffers/{specialoffer}Last modified: 2 months ago
This endpoint allows you to return the complete details for a specific special offer by passing the specialoffer
as a path parameter.
Request
Path Params
specialoffer
integer
required
The Special Offer ID. List of Special Offers ID can be found here
Request samples
Responses
Success(200)
Not Found(404)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"status": 200,
"success": true,
"data": {
"id": 1410023903,
"name": "نسبة من المشتريات",
"message": "احصل على خصم {offer_percent}",
"expiry_date": "2022-06-26 20:45:00",
"start_date": "2022-06-21 09:50:00",
"offer_type": "percentage",
"status": "active",
"show_price_after_discount": false,
"show_discounts_table_message": false,
"applied_to": "order",
"buy": {
"min_amount": 200,
"min_items": 0
},
"get": {
"discount_amount": "10.00"
}
}
}
Last modified: 2 months ago