API response doesn't show waitlist if there are add-ons

35 views
Skip to first unread message

Leandro Amorim

unread,
Mar 16, 2022, 1:52:19 PM3/16/22
to Eventbrite Developers
Hi there!


To check if a course is sold out and has a wait list available we look into ticket_availability.waitlist_available . However if a course has add-ons available it always returns the waitlist_available as false. The same happens with the has_available_tickets property, that always returns true if there are add-ons available.

Is this the expected behavior? It feels like the waitlist_available property should return true if there are tickets in waitlist.

Here is a sample event object with this issue:

        {
            "name": {
                "text": "Swiftwater Rescue Technician Level 1",
                "html": "Swiftwater Rescue Technician Level 1"
            },
            "description": {
                "text": "\"Go\" rescue from moving water",
                "html": "\"Go\" rescue from moving water"
            },
            "start": {
                "timezone": "America/Vancouver",
                "local": "2022-04-05T08:00:00",
                "utc": "2022-04-05T15:00:00Z"
            },
            "end": {
                "timezone": "America/Vancouver",
                "local": "2022-04-07T16:00:00",
                "utc": "2022-04-07T23:00:00Z"
            },
            "organization_id": "591236394563",
            "created": "2021-11-10T20:48:30Z",
            "changed": "2022-02-24T22:48:59Z",
            "published": "2021-11-10T20:50:22Z",
            "capacity": 12,
            "capacity_is_custom": true,
            "status": "live",
            "currency": "CAD",
            "listed": false,
            "shareable": false,
            "invite_only": false,
            "online_event": false,
            "show_remaining": false,
            "tx_time_limit": 900,
            "hide_start_date": false,
            "hide_end_date": false,
            "locale": "en_CA",
            "is_locked": false,
            "privacy_setting": "unlocked",
            "is_series": false,
            "is_series_parent": false,
            "inventory_type": "limited",
            "is_reserved_seating": false,
            "show_pick_a_seat": false,
            "show_seatmap_thumbnail": false,
            "show_colors_in_seatmap_thumbnail": false,
            "source": "coyote",
            "is_free": false,
            "version": null,
            "summary": "\"Go\" rescue from moving water",
            "facebook_event_id": null,
            "logo_id": "183912769",
            "organizer_id": "36632926953",
            "venue_id": "72944239",
            "category_id": "199",
            "subcategory_id": null,
            "format_id": "9",
            "id": "208847848537",
            "resource_uri": "https://www.eventbriteapi.com/v3/events/208847848537/",
            "is_externally_ticketed": false,
            "logo": {
                "crop_mask": {
                    "top_left": {
                        "x": 148,
                        "y": 0
                    },
                    "width": 1656,
                    "height": 828
                },
                "original": {
                    "width": 1952,
                    "height": 828
                },
                "id": "183912769",
                "aspect_ratio": "2",
                "edge_color": "#ffffff",
                "edge_color_set": true
            },
            "venue": {
                "address": {
                    "address_1": "TBA",
                    "address_2": "",
                    "city": "Campbell River",
                    "region": "BC",
                    "postal_code": "000000",
                    "country": "CA",
                    "latitude": "48.4196283",
                    "longitude": "-123.3702583",
                    "localized_address_display": "TBA, Campbell River, BC 000000",
                    "localized_area_display": "Campbell River, BC",
                    "localized_multi_line_address_display": [
                        "TBA",
                        "Campbell River, BC 000000"
                    ]
                },
                "resource_uri": "https://www.eventbriteapi.com/v3/venues/72944239/",
                "id": "72944239",
                "age_restriction": null,
                "capacity": null,
                "name": "Campbell River",
                "latitude": "48.4196283",
                "longitude": "-123.3702583"
            },
            "ticket_availability": {
                "has_available_tickets": true,
                "minimum_ticket_price": {
                    "currency": "CAD",
                    "major_value": "551.25",
                    "value": 55125,
                    "display": "551.25 CAD"
                },
                "maximum_ticket_price": {
                    "currency": "CAD",
                    "major_value": "551.25",
                    "value": 55125,
                    "display": "551.25 CAD"
                },
                "is_sold_out": false,
                "start_sales_date": {
                    "timezone": "America/Vancouver",
                    "local": "2012-02-22T00:00:00",
                    "utc": "2012-02-22T08:00:00Z"
                },
                "waitlist_available": false
            }
        },


Thank you!
Reply all
Reply to author
Forward
0 new messages