{
"meta": {
"code": 200,
"status": "success",
"message": "Data Loaded Successfully"
},
"data": {
"current_page": 1,
"data": [
{
"id": "3e50cfeb-3c45-484a-8174-dcb010f092e1",
"market_id": "b5d70a92-5d2e-4f89-8e52-1827cfbd01f4",
"branch_id": null,
"type": "OFFER",
"max": null,
"code": null,
"value": 20,
"value_type": "PERCENT",
"expired_at": 1720713600000,
"created_at": 1720692585796,
"updated_at": 1720692585796,
"deleted_at": null,
"target": "ORDER",
"max_amount": null,
"is_fast_offer": false
},
{
"id": "df750d37-9925-4e00-9934-a7ca5fcb76a3",
"market_id": "b5d70a92-5d2e-4f89-8e52-1827cfbd01f4",
"branch_id": null,
"type": "COUPON",
"max": null,
"code": "m8",
"value": 15,
"value_type": "PERCENT",
"expired_at": null,
"created_at": 1713400666562,
"updated_at": 1713400666562,
"deleted_at": null,
"target": "ORDER",
"max_amount": null,
"is_fast_offer": false
},
{
"id": "42d1fe04-2e45-42f5-83d2-acb7087be9dd",
"market_id": "b5d70a92-5d2e-4f89-8e52-1827cfbd01f4",
"branch_id": null,
"type": "COUPON",
"max": null,
"code": "S24",
"value": 10,
"value_type": "PERCENT",
"expired_at": 1713560400000,
"created_at": 1713384568645,
"updated_at": 1713384568645,
"deleted_at": null,
"target": "ORDER",
"max_amount": null,
"is_fast_offer": false
}
],
"first_page_url": "https://app.flavours.sa/api/v2/discounts?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "https://app.flavours.sa/api/v2/discounts?page=1",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://app.flavours.sa/api/v2/discounts?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"next_page_url": null,
"path": "https://app.flavours.sa/api/v2/discounts",
"per_page": 20,
"prev_page_url": null,
"to": 3,
"total": 3
}
}