Create Quote
METHOD: POST
Endpoint: /quote/{:quoteId}
Example
Request
Type: CreateQuoteRequest
curl --location --globoff '{:apiBase}/quote/45647d72-4af1-4b0a-8666-4ac476a5d8af' \
--data '{
"departureId": "78d863ac-d761-48ef-9af5-c0e6dd9c289c",
"cabins": [
{
"cabinGrade": "EE",
"passengers": [
{
"id": "a7fee923-1daf-43be-a5f4-37c78a1dce59",
"firstName": "John",
"lastName": "Testington",
"dateOfBirth": "1970-11-17T06:08:56.331Z",
"gender": "male",
"nationality": "no",
"phoneNumber": "+4747474747"
}
]
}
]
}'
Response
Type: QuoteResponse
{
"quoteId": "45647d72-4af1-4b0a-8666-4ac476a5d8af",
"package": {
"id": "78d863ac-d761-48ef-9af5-c0e6dd9c289c",
"code": "SCGAL2425EEU",
"description": "Galápagos Islands Expedition – in Darwin’s Footsteps"
},
"passengers": [
{
"id": "a7fee923-1daf-43be-a5f4-37c78a1dce59",
"ageCategory": "ADULT",
"guestType": "REGULAR",
"price": 81932,
"firstName": "John",
"lastName": "Testington",
"gender": "Male",
"dateOfBirth": "1970-11-17T06:08:56.331",
"nationality": "NO"
}
],
"paymentInformation": {
"currency": "NOK",
"fullAmount": 81932,
"dueByUtc": "2024-02-25T13:00:00Z"
}
}