List orders

Retrieve the orders of a event by its identifier

GET https://api.eventgoose.com/v1/events/{id}/orders

Authentication

Authenticate yourself using your organisation api token

Parameters

per_page
string
optional

The total amount of results per page. Default value is 20 and cannot exceed 1000

last_updated
date
optional

The date in the following format 2024-02-21 12:00

Response

200 application/json

A paginated object is returned with a list of order objects.

The results are paginated. Fetching all objects of a resource can be convenient. At the same time, returning too many objects at once can be unpractical from a performance perspective. Doing so might be too much work for the Eventgoose API to generate, or for your website to process.

    HTTP/1.1 200 OK
Content-Type: application/json

{
    "data": [
        {
            "id": "QqBg7MwlyNEwWG0K",
            "status": {
                "code": 190,
                "text": "Betaald"
            },
            "orderer": {
                "type": "customer",
                "data": {
                    "first_name": "Marielle",
                    "last_name": "Bayer",
                    "email": "mbayer@yahoo.com",
                    "phone": "+1872728234948"
                }
            },
            "purchases": [
                {
                    "id": "WVmRd20vAQE5LAvB",
                    "ticket": {
                        "id": "0nqJjGEj3WOedYPQ",
                        "name": "VIP"
                    },
                    "barcode": 6118645969485,
                    "available_at": null,
                    "timeslot": null,
                    "scanned_at": "2021-03-03T11:40:55.000000Z",
                    "values": []
                },
                {
                    "id": "KN43GOrerVEXJQbx",
                    "ticket": {
                        "id": "0nqJjGEj3WOedYPQ",
                        "name": "VIP"
                    },
                    "barcode": 2394013917782,
                    "available_at": null,
                    "timeslot": null,
                    "scanned_at": "2021-03-03T11:40:55.000000Z",
                    "values": []
                }
            ]
        },
        {  },
        {  },
    ],
    "links": {
        "first": "https://api.eventgoose.com/v1/events/jL3DYVM4ApEBJn4w/orders?page=1",
        "last": "https://api.eventgoose.com/v1/events/jL3DYVM4ApEBJn4w/orders?page=297",
        "prev": null,
        "next": "https://api.eventgoose.com/v1/events/jL3DYVM4ApEBJn4w/orders?page=2"
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 297,
        "path": "https://api.eventgoose.com/v1/events/jL3DYVM4ApEBJn4w/orders",
        "per_page": 20,
        "to": 20,
        "total": 5924
    }
}