Set your API key. To request a demo API key please reach out to us at partner@distribusion.com. Reference value: ZW8FXhnBl53yTkrMvoqLp4Xq7mf9nEBGsxpTWrid.
Query Parameters
typestring Required
Set the type of document. Document types available: pdf, html, pkpass, qr-code-png, image, google-wallet. Default set to pdf if the field is not used. Reference value: pdf.
Path Parameters
booking_idstring Required
Set the ID of the booking to be checked. Use the value retrieved from the /reservations/{reservation_id} or /bookings/create response. Reference value: 8qbBSBst2XH39afW2WzAfQ.
Response
200 (pdf)
Object
Successful response with pdf ticket
200 (Google Wallet)
Object
Successful response with Google Wallet ticket
Response Attributes
dataobject
Show child attributes
jsonapiobject
Show child attributes
200 (PKPASS)
Object
Successful response with PKPASS ticket
Response Attributes
dataarray
Show child attributes
jsonapiobject
Show child attributes
200 (QR Code)
Object
Successful response with QR Code ticket
Response Attributes
dataarray
Show child attributes
jsonapiobject
Show child attributes
200 (HTML)
Object
Successful response with HTML ticket
500 (no PKPASS available)
Object
Error response: no PKPASS ticket available (and other cases)