Tickets

The collection represents a list of tickets. This collection can be used to find tickets by event and barcode. Refer to the status of the ticket to know if the ticket is valid, canceled or transfered.

Accepted methods

  • GET: Retrieve the list of tickets for an event and barcode.

Accepted query parameters

Parameter Description
event Ticket event.
code Barcode printed on (e)ticket.

Data

Parameter Type Description
item_count Integer The number of tickets in the collection.

Embedded resources

Example representation

[GET] https://shopping-api.paylogic.com/tickets?code=9876532312&event=https://shopping-api.paylogic.com/events/4c508795d1814fc2875edc782267d8b9
{
    "_links": {
        "self": { "href": "https://shopping-api.paylogic.com/tickets?code=9876532312&event=https://shopping-api.paylogic.com/events/4c508795d1814fc2875edc782267d8b9" },
        "curies": [{ "name": "shop", "href": "https://shopping-api-docs.paylogic.com/documentation/{rel}.html", "templated": true, "type": "text/html" }],
        "profile": { "href": "https://shopping-api-docs.paylogic.com/documentation/tickets.html", "type": "text/html" },
        "search": { "href": "https://shopping-api.paylogic.com/tickets{?name,subtitle,price,currency,sold_out}", "templated": true },
        "first": { "href": "https://shopping-api.paylogic.com/tickets" },
        "prev": { "href": "https://shopping-api.paylogic.com/tickets?page=1" },
        "next": { "href": "https://shopping-api.paylogic.com/tickets?page=3" },
        "last": { "href": "https://shopping-api.paylogic.com/tickets?page=10" }
    },
    "item_count": 183,
    "_embedded": {
        "shop:ticket": [
            {
                "_links": {
                    "curies": [
                        {
                            "href": "https://shopping-api-docs.paylogic.com/documentation/{rel}.html",
                            "name": "shop",
                            "templated": true,
                            "type": "text/html"
                        }
                    ],
                    "profile": {
                        "href": "https://shopping-api-docs.paylogic.com/documentation/ticket.html",
                        "type": "text/html"
                    },
                    "self": {
                        "href": "https://shopping-api.paylogic.com/tickets/cba40d60019448278542c9f5ac1bf7ce"
                    },
                    "shop:event": {
                        "href": "https://shopping-api.paylogic.com/event/d2f470d7fa573439860451ef190f5698"
                    },
                    "shop:product": {
                        "href": "https://shopping-api.paylogic.com/products/d2f470d7fa574a39860451ef190f5698"
                    },
                    "shop:order": {
                        "href": "https://shopping-api.paylogic.com/orders/d2f470d7fa574a34444451ef190f5698"
                    }
                },
                "uid": "cba40d60019448278542c9f5ac1bf7ce",
                "code": "744058468214",
                "consumer": {
                    "address": "Some street 31",
                    "city": "Some city",
                    "country": "US",
                    "date_of_birth": "1990-01-01",
                    "email": "john.smith@example.com",
                    "first_name": "John",
                    "last_name": "Smith",
                    "gender": 1,
                    "phone_number": "555-55555",
                    "postal_code": "1234",
                    "state": "UT",
                },
                "needs_personalization": true,
                "personalization_form": {
                    "date_of_birth": {
                        "required": true
                    },
                    "first_name": {
                        "required": true
                    },
                    "gender": {
                        "required": true
                    },
                    "last_name": {
                        "required": true
                    },
                    "phone_number": {
                        "required": false
                    }
                },
                "seating": {
                    "row": "Row",
                    "row_label": {
                        "de": "Reihe",
                        "en": "Row",
                        "es": "Fila",
                        "fr": "Rang",
                        "nl": "Rij",
                        "pt": "Fileira",
                        "tr": "Sıra"
                    },
                    "seat": "Seat",
                    "seat_label": {
                        "de": "Sitzplatz",
                        "en": "Seat",
                        "es": "Asiento",
                        "fr": "Siège",
                        "nl": "Stoel",
                        "pt": "Assento",
                        "tr": "Sandalye"
                    },
                    "section": "Section",
                    "section_label": {
                        "de": "Block",
                        "en": "Section",
                        "es": "Sección",
                        "fr": "Section",
                        "nl": "Sectie",
                        "pt": "Seção",
                        "tr": "Bölüm"
                    },
                    "venue": {
                        "de": "",
                        "en": "Venue h9rhf",
                        "es": "",
                        "fr": "",
                        "pt": "",
                        "nl": "",
                        "tr": ""
                    }
                },
                "subproduct": {
                    "de": "",
                    "en": "Subproduct 2",
                    "es": "",
                    "fr": "",
                    "nl": "",
                    "pt": "",
                    "tr": ""
                },
                "status": "valid",
                "uid": "62d6c6be3c394b1ca5d27fbc4d8ab183"
            }
        ]
    }
}