List tickets

Retrieve all tickets created by your organisation.

GET https://api.eventgoose.com/v1/tickets

Authentication

Authenticate yourself using your organisation api token

Parameters

None

Response

200 application/json

A paginated object is returned with a list of ticket 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.

Note

Don't add these tickets to the checkout process. Only the tickets from the Get shop resource can be added.

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

{
    "data": [
        {
            "id": "n8qX7ZMx6LOg5DQj",
            "name": "Regular",
            "event_id": "oLenyp2qBMRAQVY5",
            "dates": [
                {
                    "id": "k5r6PGEojmMLvKwm",
                    "starts_at": "2021-07-03T22:00:00.000000Z",
                    "ends_at": "2021-07-03T22:00:00.000000Z"
                },
                {
                    "id": "5Nk7n02Rbd2ad3Lx",
                    "starts_at": "2021-07-02T13:00:00.000000Z",
                    "ends_at": "2021-07-02T21:00:00.000000Z"
                }
            ],
            "price": "49.99",
            "capacity": 1000,
            "min_order_amount": 1,
            "max_order_amount": 5,
            "template_id": "5NZGx32KbOJqQmBV",
            "mobile_template_id": "wmjpk1Egm26APR4l",
            "service_fee": 0,
            "availability": [],
            "fields": [],
            "related_tickets": [],
            "excluded_tickets": [],
            "sale_percentage": {
                "active": true,
                "percentage": 55
            },
            "on_fire": true,
            "is_hidden": false,
            "is_entry": true,
            "tags": [
                "tag1",
                "tag2"
            ]
        },
        {  },
        {  },
    ],
    "links": {
        "first": "https://api.eventgoose.com/v1/tickets?page=1",
        "last": "https://api.eventgoose.com/v1/tickets?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "path": "https://api.eventgoose.com/v1/tickets",
        "per_page": 20,
        "to": 3,
        "total": 3
    }
}