GET
/v2/order/show/{id}View one booking
The full order the customer owns. Someone else’s id returns the same 404 as a missing one.
Bearer tokenAuthority: B2C_ORDER_VIEWhttps://booking.aerolink.dev
This is the confirmation page, the e-ticket view, the “manage booking” screen. Shape matches create-PNR. All customers of a storefront share one agency, so isolation is per record against user.userId — never an agency-wide listing.
cURL
bash
curl https://booking.aerolink.dev/v2/order/show/66f0... \
-H "Authorization: Bearer eyJ..."Path parameters
idstringrequired
Order id
idstring required | Order id |
Response
200
{
"message": "Success",
"data": {
"id": "66f0...",
"refNo": "TRP-000123",
"pnr": "ABC123",
"status": "ISSUED",
"price": { "currencyCode": "BDT", "total": 46300 },
"bookingTime": 1788356966,
"issuedTime": 1788357800,
"journeyDateTime": 1791000000,
"tripSummary": {},
"passengers": [],
"facilities": {}
}
}Errors
404Entity Not Found
Order absent or not owned by the caller
401 / 403UNAUTHORIZED
Missing token or missing B2C_ORDER_VIEW
| HTTP | message | When |
|---|---|---|
| 404 | Entity Not Found | Order absent or not owned by the caller |
| 401 / 403 | UNAUTHORIZED | Missing token or missing B2C_ORDER_VIEW |