Fetch detailed information from an existing booking

GET /booking/{id}

Technical flow

erDiagram
  CUSTOMER }|..|{ DELIVERY-ADDRESS : has
  CUSTOMER ||--o{ ORDER : places
  CUSTOMER ||--o{ INVOICE : "liable for"
  DELIVERY-ADDRESS ||--o{ ORDER : receives
  INVOICE ||--|{ ORDER : covers
  ORDER ||--|{ ORDER-ITEM : includes
  PRODUCT-CATEGORY ||--|{ PRODUCT : contains
  PRODUCT ||--o{ ORDER-ITEM : "ordered in"

Path parameters

  • id string Required

    UUID of an existing booking from which to fetch diff details

Responses

  • 201 application/json

    Booking successfully retrieved

    Hide response attribute Show response attribute object
    • id string

      Unique id of your booking

GET /booking/{id}
curl \
 --request GET https://example.com/api/v1/booking/{id}
Response examples (201)
{
  "id": "d6f00a51-a175-4a44-a0c7-df62a48548ca"
}