Ticket

Ticket represents a physical ticket of the product that has been sold. Orders can be created based on existing tickets or based on products.

Accepted methods

  • GET: Retrieve the details of a single ticket.

Accepted query parameters

None.

Data

Field name Type Description
uid String A machine readable id for this ticket, used in communication with the API.
code String Barcode printed on (e)ticket.
consumer Ticket consumer A ticket consumer object, representing the personal ticket information.
seating Seating Ticket seating object, representing the information about seat physical location.
subproduct I18N Subproduct (entrance) title.
needs_personalization Boolean Ticket needs to be personalized
personalization_start Datetime The date and time that the personalization for this ticket started.
personalization_end Datetime The date and time that the personalization for this ticket will end. After this point in time, ticket consumer information can no longer be POSTed via Consumers.
ticket_transfer_deadline Datetime End date and time for transferring tickets for this ticket’s event.

Embedded resources

None.

Example representation

[GET] https://shopping-api.paylogic.com/tickets/cba40d60019448278542c9f5ac1bf7ce
{
    "_links": {
        "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/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"
        },
        "shop:ticket_transfer_approvals": {
            "href": "https://shopping-api.paylogic.com/ticket-transfer-approvals"
        },
        "shop:ticket_transfer_approval": {
            "href": "https://shopping-api.paylogic.com/ticket-transfer-approvals/0c2019503cd666fb35c5a3dbd7bafe86"
        }

    },
    "uid": "cba40d60019448278542c9f5ac1bf7ce",
    "code": "744058468214",
    "consumer": {
        "address": "Some street 31",
        "city": "Some city",
        "country": "US",
        "date_of_birth": "1990-01-01",
        "email": "john.smith.last@example.com",
        "first_name": "John",
        "last_name": "Smith",
        "gender": 1,
        "postal_code": "1234",
        "state": "UT",
    },
    "personalization_start": "2014-01-28T20:27:16Z",
    "personalization_end": "2014-06-09T17:27:16Z",
    "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",
    "ticket_transfer_deadline": "2014-06-09T17:27:16Z",
    "uid": "62d6c6be3c394b1ca5d27fbc4d8ab183"
}