Skip to main content
POST
Create New Quote with Items

Authorizations

Authorization
string
header
required

You can retrieve your token by visiting your dashboard and clicking Generate API token.

Body

application/json
quoteTitle
string
required

The quote title.

Example:

"My Trip to Sydney"

tdmsProductId
string
required

The TDMS product ID.

Example:

"PROD123"

startDate
string
required

Start date (d-M-Y format).

Example:

"15-Jan-2024"

days
integer
required

Number of days.

Example:

3

selectedAvailableIndices
string[]
required

Selected availability indices.

Example:
productPricesDetails
string[]
required

Price details.

Example:

Response

200 - text/plain

The response is of type string.

Example:

"{\"status\": \"success\", \"message\": \"Quote created\", \"data\": {...}}"