Unit Quotes

Generate a quote for units in the inventory or a specified unit and date range

Overview

The Unit Quotes request provides functionality that allows the Agent to generate a detailed quote for units in the inventory or for a specific unit and date range. By making this request, partners can receive comprehensive information about the pricing and availability of a property during the specified time frame.

The Unit Quotes API allows partners to calculate costs for potential reservations accurately. It takes into account various factors, such as rates, taxes, and any additional fees associated with the Booking.

Endpoints Available

MethodEndpointDescription
POSTv2024.07.31/unit_quotesGenerate a Quote for a specific Unit and date range
POSTv2024.07.31/unit_quotes/{unit_id}Generate multiple Quotes for Units and date ranges

Path Parameters

Path ParameterRequired / OptionalDescription
{unit_id}RequiredUnique Identifier for a unit in the inventory.

Query String Parameters

ParameterRequired / OptionalDescriptionData Type
pageOptionalThe page to be shown (defaults to 1).int
page_sizeOptionalLimits the number of returned results (defaults to 25).int
last_unit_update_dateOptionalOnly return units that have been modified after the specified date.date-time
last_reservation_update_dateOptionalOnly return units that have received a booking (their own or a calendar sync) after the specified date.date-time
last_agent_module_property_update_dateOptionalOnly return units that have had their agent module property configuration modified after the specified date.date-time
last_agent_module_agent_update_dateOptionalOnly return units that have had their agent module agent configuration modified after the specified date.date-time
unit_idOptionalThe unique identifier for a unit in the inventory.int
unit_idsOptionalThe unique identifiers for multiple units in the inventory.array[int]
management_company_user_idOptionalThe unique identifier for a supplier of units in the inventory.int
management_company_user_idsOptionalThe unique identifiers for multiple suppliers of units in the inventory.array[int]
enabledOptionalUse only enabled or disabled units.boolean
deletedOptionalOnly show properties that are deleted or not deleted.boolean
display_on_websiteOptionalOnly show properties that are enabled for the management company's website.boolean
allocation_on_arrivalOptionalReturn the allocation on arrival object.boolean
allocation_on_arrival_unitOptionalReturn units that are the representative unit in their group.boolean
channelOptionalSpecify the channel to quote as.string
fallback_ratesOptionalUse length of stay pricing if available.boolean

Body Parameters

ParameterRequired / OptionalDescriptionData Type
"id"OptionalThe unique internal identifier for the quote request. Useful when updating an existing quote.int
"management_company_user_id"OptionalThe unique identifier for the property management company generating the quote.int
"unit_id"OptionalThe unique identifier for the rental unit being quoted.int
"reference"OptionalThe external reference string for the quote.string
"type"OptionalThe type of the quote.string
"details"RequiredAn object containing the full details of the quote, including dates, guest info, financials, and more.object
"financials"OptionalObject containing pricing, payments, and charge info.object
"last_modified"OptionalThe timestamp of the last change to this quote.date-time
"error"OptionalReturns only if an error occurs when processing the quote.object

"details" Object Body Parameters

ParameterRequired / OptionalDescriptionData Type
"quote_as_super_site_user_id"OptionalIf quoting as a different user, specify their user ID here.int
"arrival"RequiredA value specifying the arrival date for the quote.date-time
"departure"RequiredA value specifying the departure date for the quote.date-time
"added"OptionalA value representing the date-time the quote was generated.date-time
"expiration"OptionalA value representing hen the quote will expire if not confirmed.date-time
"cancelled_on"OptionalIf the quote was canceled, this holds the cancellation date and time.date-time
"scenario"OptionalUsed to control how the quote is viewed or calculated.int
"comments"OptionalA list of internal or external comments added to the quote.array[objects]
"guests"OptionalAn array of guest records included in the quote.array[objects]
"number_of_adults"OptionalThe total number of adult guests.int
"number_of_children"OptionalThe total number of child guests.int
"number_of_pets"OptionalThe total number of pets.int
"category"OptionalThe reservation category name.array
"category_id"OptionalThe reservation category ID.int
"category_description"OptionalThe internal category name.string
"calendar_sync_category_id"OptionalThe category ID for calendar sync.int
"secure_details"OptionalObject containing access codes and guest instructions.array
"early_check_in"OptionalA flag indicating whether early check-in is included or not.boolean
"late_check_out"OptionalA flag indicating whether late check-out is included or not.boolean
"arrival_departure_info"OptionalNotes about arrival and departure.string
"owner_reservation"OptionalA flag indicating if it's an owner's reservation or not.boolean
"source"OptionalThe source of the quote. It indicates the origin or provider of the quote.string
"thread_id"OptionalUnique identifier for the conversation thread. Used to associate the Quote with a specific conversation or thread.string
"airbnb_confirmation_code"OptionalAirbnb confirmation code.string
"unit_name"OptionalThe unit name that is being quoted.string

"comments" Object Body Parameters

ParameterRequired / OptionalDescriptionData Type
"text"OptionalThe text to add to the comment.string
"type"OptionalThe type of comment to include.string

"guests" Object Body Parameters

ParameterRequired / OptionalDescriptionData Type
"id"OptionalThe CRM ID of the guest.int
"type"OptionalThe type of guest.string
"title"OptionalThe guests' title (Mr., Ms., etc).string
"first_name"OptionalThe guest's first name.string
"last_name"OptionalThe guest's last name.string
"age"OptionalThe age of the guest.int
"phone_numbers"OptionalA list of phone numbers for the guest.array[strings]
"email_addresses"OptionalA list of email addresses for the guest.array[strings]
"address"OptionalThe guest's physical address details.object
"notes"OptionalInternal notes about the guest.string
"allow_marketing_emails"OptionalA flag indicating whether marketing emails are allowed or not.boolean
"airbnb_guest_id"OptionalThe Airbnb guest ID.string

"address" Object Body Parameters

ParameterRequired / OptionalDescriptionData Type
"address_line_1"OptionalThe primary street address for the lead guest.string
"address_line_2"OptionalThe secondary address information, if applicable (e.g., unit, suite number).string
"city"OptionalThe city where the guest's address is located.string
"state_province"OptionalThe state or province where the guest's address is located.string
"country"OptionalThe country where the guest's address is located in ISO 3166 (alpha-2) format.string
"postal_code"OptionalThe postal code of the guest's address.string

"secure_details" Object Body Parameters

ParameterRequired / OptionalDescriptionData Type
"lock_box_code"OptionalCode for lock box access.string
"gate_code"OptionalCode for gate access.string
"alarm_code"OptionalCode for alarm access.string
"wifi_ssid"OptionalWifi network name.string
"wifi_password"OptionalWifi password.string
"lobby_code"OptionalCode for lobby access.string
"fitness_room_code"OptionalCode for fitness room access.string
"pool_access_code"OptionalCode for pool access.string
"beach_access_code"OptionalCode for beach access.string
"door_code"OptionalCode for door access.string

"financials" Object Body Parameters

ParameterRequired / OptionalDescriptionData Type
"rate_set_id"OptionalThe ID of the rate set used to calculate pricing.int
"length_of_stay"OptionalA flag indicating whether length-of-stay rules were applied or not.boolean
"pool_heat"OptionalA flag indicating whether pool heat was requested or not.boolean
"discount_code"OptionalAn optional discount code applied to the reservation.string
"currency"OptionalThe currency of the quote.string
"merchant_of_record"OptionalSpecifies the merchant of record.string
"merchant_of_record_user"OptionalThe user ID of the entity acting as the merchant of record.int
"charges"OptionalAn array containing details about individual charges associated with the quote. Each element in the array represents a specific charge item, such as Rental Rate, Clean Fee, Taxes, or Extra Feesarray[objects]
"total_amount"OptionalTotal amount for the reservation. Values utilized by this endpoint use 10⁸ fixed-point format (e.g. 5500000000= 55).int
"payments"OptionalAn array containing records of payments already applied.array[objects]
"payment_schedule"OptionalAn array containing details about the payment schedule if booked.array[objects]
"total_paid"OptionalThe total amount paid by the guest.int
"total"OptionalTotal amount for the reservation. Values utilized by this endpoint use 10⁸ fixed-point format (e.g. 5500000000= 55).int
"payment_taken_by"OptionalThe User ID of the party that accepted the payment.int
"merchant_grantee_agent"Optional(Optional) Agent user ID receiving merchant rights.int
"merchant_grantee_supplier"Optional(Optional) Supplier user ID receiving merchant rights.int

"charges" Object Body Parameters

Response ItemRequired / OptionalDescriptionData Type
"item"OptionalThe label or description of the charge (e.g., "Rental Rate").string
"id"Optional(Optional) ID associated with the charge.int
"code"OptionalA code representing the charge item.string
"applies_to_item"Optional(Optional) Name of the item this charge applies to (for taxes).string
"applies_to_id"Optional(Optional) ID of the item this charge applies to (for taxes).string
"quantity"OptionalThe quantity of the charge item. Usually 1.int
"type"OptionalThe internal classification of the charge (e.g., rental, tax_one).string
"value"OptionalThe amount for the item. Values utilized by this endpoint use 10⁸ fixed-point format (e.g. 5500000000= 55).int

"payments" Object Body Parameters

ParameterRequired / OptionalDescriptionData Type
"amount"OptionalThe amount for the payment. Values utilized by this endpoint use 10⁸ fixed-point format (e.g. 5500000000= 55).int
"payment_date"OptionalThe timestamp of when the payment was made.date-time

"payment_schedule" Object Body Parameters

ParameterRequired / OptionalDescriptionData Type
"amount"OptionalThe scheduled payment amount. Values utilized by this endpoint use 10⁸ fixed-point format (e.g. 5500000000= 55).int
"due_date"OptionalThe timestamp of when the payment is due.date-time

Response Definition

Response ItemDescriptionData Type
"unit_id"The unique identifier for the unit associated with the quote.int
"type"Always set to "quote" for successful results.string
"management_company_user_id"The unique identifier for the supplier associated with the quote.int
"details"An object containing specific details related to the bookingobject
"financials"An object containing financial details related to the bookingobject

"details" Object

Response ItemDescriptionData Type
"arrival"The arrival date for the quote.string
"departure"The departure date for the quote.string
"added"The timestamp of when the quote was generated.date-time
"expiration"When the quote expires and is no longer valid.date-time
"guests"List of guests with their roles and names.array
"number_of_adults"The number of adults included in the bookingint
"number_of_children"The number of children included in the bookingint
"number_of_pets"The number of pets included in the bookingint
"category_id"The reservation category ID.int
"early_check_in"A flag indicating whether early check-in is included or not.boolean
"late_check_out"A flag indicating whether late check-out is included or not.boolean
"owner_reservation"A flag indicating if it's an owner's reservation or not.boolean

"guests" Object

Response ItemDescriptionData Type
"type"Role of the guest (e.g., "lead_guest").string
"first_name"First name of the guest.string

"financials" Object

Response ItemDescriptionData Type
"rate_set_id"The ID of the rate set used to calculate pricing.int
"length_of_stay"A flag indicating whether length-of-stay rules were applied or not.boolean
"pool_heat"A flag indicating whether pool heat was requested or not.boolean
"currency"The currency of the quote.string
"charges"An array containing details about individual charges associated with the quote. Each element in the array represents a specific charge item, such as Rental Rate, Clean Fee, Taxes, or Extra Feesarray
"payment_schedule"An array containing details about the payment schedule if booked.array
"total_value"Total amount for the reservation, in fixed-point format (÷100,000,000).int
"payment_taken_by"ID of the user or system that took the payment (0 = none).int

"charges" Object

Response ItemDescriptionData Type
"item"The label or description of the charge (e.g., "Rental Rate").string
"code"A code representing the charge item.string
"applies_to_item"(Optional) Name of the item this charge applies to (for taxes).string
"applies_to_id"(Optional) ID of the item this charge applies to (for taxes).string
"quantity"The quantity of the charge item. Usually 1.int
"type"The internal classification of the charge (e.g., rental, tax_one).string
"value"The amount for the item in micro-units (÷100,000,000).int

"payment_schedule" Object

Response ItemDescriptionData Type
"value"The total amount of the scheduled payment in micro-units (÷100,000,000).int
"value_due"The outstanding amount due.int
"payment_type"Type of payment (e.g., down_payment, scheduled_payment).string
"payment_status"The status of the "value" (e.g., "due").string
"due_date"The due date for the payment schedule - ISO 8601 date-time formatstring

Sample Request (Units)

curl --location 'https://api.ciiruspartners.com/v2024.07.31/unit_quotes?page=1&page_size=25' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic {APIUsername:APIPassword}' \
--data '{
  "details": {
    "arrival": "2026-06-12",
    "departure": "2026-06-15"
  }
}
'

Sample Request (Unit)

curl --location 'https://api.ciiruspartners.com/v2024.07.31/unit_quotes/219264' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic {APIUsername:APIPassword}' \
--data '{
  "details": {
    "arrival": "2026-06-12",
    "departure": "2026-06-15"
  },
  "unit_id": 219264
}'

Sample Response

{
    "unit_quotes": [
        {
            "unit_id": 219264,
            "type": "quote",
            "management_company_user_id": 42330,
            "details": {
                "arrival": "2026-06-12T16:00:00",
                "departure": "2026-06-15T10:00:00",
                "added": "2025-05-05T20:33:50.9272254Z",
                "expiration": "2025-05-05T00:00:00+00:00",
                "guests": [
                    {
                        "type": "lead_guest",
                        "first_name": "Adult 1"
                    }
                ],
                "number_of_adults": 1,
                "number_of_children": 0,
                "number_of_pets": 0,
                "category_id": 16,
                "early_check_in": false,
                "late_check_out": false,
                "owner_reservation": false
            },
            "financials": {
                "rate_set_id": 75114,
                "length_of_stay": false,
                "pool_heat": false,
                "currency": "USD",
                "charges": [
                    {
                        "item": "Rental Rate",
                        "quantity": 1,
                        "type": "rental",
                        "value": 16500000000
                    },
                    {
                        "item": "Clean Fee",
                        "quantity": 1,
                        "type": "clean_fee",
                        "value": 20000000000
                    },
                    {
                        "item": "Clean Fee Tax 1",
                        "applies_to_item": "Clean Fee",
                        "quantity": 1,
                        "type": "tax_one",
                        "value": 1500000000
                    },
                    {
                        "item": "Clean Fee Tax 2",
                        "applies_to_item": "Clean Fee",
                        "quantity": 1,
                        "type": "tax_two",
                        "value": 1200000000
                    },
                    {
                        "item": "Booking Fee",
                        "quantity": 1,
                        "type": "clean_fee",
                        "value": 300000000
                    },
                    {
                        "item": "Booking Fee Tax 1",
                        "applies_to_item": "Booking Fee",
                        "quantity": 1,
                        "type": "tax_one",
                        "value": 23000000
                    },
                    {
                        "item": "Booking Fee Tax 2",
                        "applies_to_item": "Booking Fee",
                        "quantity": 1,
                        "type": "tax_two",
                        "value": 18000000
                    },
                    {
                        "item": "Example Fee 1",
                        "code": "Fee1",
                        "applies_to_id": "7417",
                        "quantity": 1,
                        "type": "extra",
                        "value": 495000000
                    },
                    {
                        "item": "Example Fee 1 Tax 1",
                        "applies_to_item": "Example Fee 1",
                        "quantity": 1,
                        "type": "tax_one",
                        "value": 37000000
                    },
                    {
                        "item": "Example Fee 1 Tax 2",
                        "applies_to_item": "Example Fee 1",
                        "quantity": 1,
                        "type": "tax_two",
                        "value": 30000000
                    },
                    {
                        "item": "Example Fee 2",
                        "code": "Fee2",
                        "applies_to_id": "7418",
                        "quantity": 1,
                        "type": "extra",
                        "value": 1000000000
                    },
                    {
                        "item": "Example Fee 2 Tax 1",
                        "applies_to_item": "Example Fee 2",
                        "quantity": 1,
                        "type": "tax_one",
                        "value": 75000000
                    },
                    {
                        "item": "Example Fee 2 Tax 2",
                        "applies_to_item": "Example Fee 2",
                        "quantity": 1,
                        "type": "tax_two",
                        "value": 60000000
                    },
                    {
                        "item": "Example Fee 5",
                        "code": "Fee5",
                        "applies_to_id": "7421",
                        "quantity": 1,
                        "type": "extra",
                        "value": 500000000
                    },
                    {
                        "item": "Accidental Damage Insurance",
                        "code": "ADI",
                        "applies_to_id": "21728",
                        "quantity": 1,
                        "type": "extra",
                        "value": 7500000000
                    },
                    {
                        "item": "Property Protection Fee",
                        "code": "CP-STD",
                        "applies_to_id": "25011",
                        "quantity": 1,
                        "type": "extra",
                        "value": 6500000000
                    }
                ],
                "payment_schedule": [
                    {
                        "value": 100000000,
                        "value_due": 100000000,
                        "payment_type": "down_payment",
                        "payment_status": "due",
                        "due_date": "2025-05-05T00:00:00Z"
                    },
                    {
                        "value": 55638000000,
                        "value_due": 55638000000,
                        "payment_type": "scheduled_payment",
                        "payment_status": "due",
                        "due_date": "2026-04-17T00:00:00"
                    }
                ],
                "total_value": 55738000000,
                "payment_taken_by": 1
            }
        },
        {
            "management_company_user_id": 0,
            "error": {
                "message": "{\"message\":\"Unit is not available for 3 nights. Valid stays: 0\"}"
            }
        },
       ],
       "paging": {
        "next_page_url": "https://api.ciiruspartners.com/v2024.07.31/unit_quotes?page=2&page_size=25",
        "total_page_count": 3,
        "page": 1,
        "page_size": 25
    }
}