Event

The Event feature provides information on available events. This feature is solely for displaying promotional offers and is not related to the processes of earning or redemption of rewards.

It is intended to give users visibility into current events without involving any transactional or loyalty functions.

Ensure that you are using the correct API URL to access the Event data.

Get All Events

GET/event

Available of the promotion in the selected client.

Headers

Name
Value

Accept

application/json

Params

Name
Type
Description

client_code

string

client identifier

page

string

page of the data

limit

string

limit of the data

status

string

status of the promotion. Default : all. all / past / running

Response

{
    "status_code": 200,
    "status": "success",
    "paginator": {
        "current_page": 1,
        "per_page": 10,
        "previous_page": 0,
        "next_page": 0,
        "total_items": 1,
        "total_pages": 1
    },
    "data": [
        {
            "id": 70,
            "period": {
                "start": "2024-10-01 00:00:00",
                "end": "2024-10-31 23:59:00"
            },
            "name": "Default Event",
            "description": "<p>Thank you for trusting us<br></p>",
            "venue": "Main Hall",
            "active": true,
            "photos": [],
            "event_category": {
                "id": 83,
                "code": "001",
                "name": "Default Category"
            }
        }
    ]
}

Last updated