RateParity API
  • Introduction
  • Authentication
  • Internationalization
  • Model Description
  • Data Types
  • Pagination
  • Errors
  • Client API
  • Shopper
    • Shop Rates
  • Reviews
    • Fetch Reviews
  • Quote
    • Create Quote
  • Insights
    • Parity Timeline
Powered by GitBook
On this page
  • Request Example
  • Response Example
  1. Quote

Create Quote

The Create Quote method is used to create offline offers for a specific hotel. This endpoint allows users to send quote requests directly to hotels, often for personalized rates or availability inquiries not shown in standard search results.

POST https://api.rateparity.com/v1/quote/{code}

Body Parameters

Parameter
Type
Required
Description

checkin

string

Yes

The desired check-in date (format: YYYY-MM-DD).

nights

integer

Yes

The number of nights for the stay.

firstName

string

Yes

The first name of the person making the request.

lastName

string

Yes

The last name of the person making the request.

email

string

Yes

The email address of the requester.

phone

string

No

The phone number of the requester (optional, but useful for direct communication).

country

string

Yes

The country of residence of the requester.

notes

string

No

Any additional notes or special requests (e.g., room preferences, meal plans, or other requirements).

adults

integer

Yes

Number of adults included in the booking.

children

integer

No

Number of children included in the booking (default is 0 if not provided).

rooms

integer

Yes

Number of rooms requested.


Request Example

curl --location 'https://api.rateparity.com/v1/quote/{code}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {JWT_TOKEN}' \
--data-raw '{
    "checkin": "2025-08-26",
    "nights": 6,
    "firstName": "Asli",
    "lastName": "Calik",
    "email": "asli_calik@yahoo.com",
    "phone": "905377290056",
    "country": "Italy",
    "notes": "Dear all, we would like to visit Halkidiki with my family and your hotel seems amazing! What I would like to ask you, is there any possibility to have 'Standard Retreat' room with half-board option (with extra payment of course)? Thank you already!",
    "adults": 2,
    "children": 0,
    "rooms": 1
}'

Response Example

PreviousFetch ReviewsNextParity Timeline

Last updated 2 months ago