KorusTicket API documentation
KorusTicket API documentation
curl -i -X GET \
'https://api.demo.korusticket.com/v1/booking/orders?createdAt%5Bafter%5D=string&createdAt%5Bbefore%5D=string&createdAt%5Bstrictly_after%5D=string&createdAt%5Bstrictly_before%5D=string&external_reference=string&itemsPerPage=10&order%5BcreatedAt%5D=asc&page=1' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "member": [ { … } ], "totalItems": 0, "view": { "@id": "string", "type": "string", "first": "string", "last": "string", "previous": "string", "next": "string" }, "search": { "@type": "string", "template": "string", "variableRepresentation": "string", "mapping": [ … ] } }
curl -i -X POST \
https://api.demo.korusticket.com/v1/booking/orders/_bulk \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/ld+json' \
-d '{
"reservations": [
"string"
],
"customer": {
"firstname": "john",
"lastname": "doe",
"email": "[email protected]",
"phone": "+33610203040",
"country": "FR",
"language": "fr"
},
"externalReference": "string"
}'
{ "@context": "string", "@id": "string", "@type": "string", "orders": [ { … } ], "failedOrders": [ { … } ] }
curl -i -X GET \
'https://api.demo.korusticket.com/v1/booking/orders/{id}' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "@context": "string", "@id": "string", "@type": "string", "id": "0194cb22-b891-754c-8c4c-777b93f8d072", "createdAt": "2025-01-27T15:15:20+00:00", "organization": "/v1/organizations/0194cb23-170e-71f0-b4bb-0a7e644dea34", "reference": "KT-ORD-123456", "externalReference": "YOUR-CUSTOM-REFERENCE", "connectorReference": "string", "totalAmountInclTax": "100.00", "totalAmountExclTax": "100.00", "reservation": "/v1/booking/reservations/0194cb23-f18e-7c8e-9729-a7a65e961639", "customer": { "@context": "string", "@id": "string", "@type": "string", "firstname": "john", "lastname": "doe", "email": "[email protected]", "phone": "+33610203040", "country": "FR", "language": "fr" }, "status": "confirmed", "cancelledAt": "2025-02-27T15:15:20+00:00", "items": [ { … } ], "documents": [ "https://example.com/" ] }