Skip to main content
GET
/
price
Get price
curl --request GET \
  --url https://spaportal.cz/api/v1/price \
  --header 'Authorization: Bearer <token>'
{
  "cs_CZ": {
    "amount": 18924,
    "currency": "CZK",
    "price_breakdown": {
      "base_price": 19920,
      "discounts": [
        {
          "price_discount": 996,
          "guest": 1,
          "loyalty_program": {
            "_id": "66f16191f739705faa020007",
            "id": 2,
            "name": {
              "cs_CZ": "VIP Club Premium",
              "de": "VIP Club Premium",
              "en": "VIP Club Premium"
            }
          }
        }
      ]
    }
  },
  "de": {
    "amount": 758,
    "currency": "EUR",
    "price_breakdown": {
      "base_price": 798,
      "discounts": [
        {
          "price_discount": 40,
          "guest": 1,
          "loyalty_program": {
            "_id": "66f16191f739705faa020007",
            "id": 2,
            "name": {
              "cs_CZ": "VIP Club Premium",
              "de": "VIP Club Premium",
              "en": "VIP Club Premium"
            }
          }
        }
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept-Language
string

Comma-separated list of languages to include.

Example:

"cs_CZ,de"

Query Parameters

visit_type_id
integer
required

Visit type ID.

room_type_id
integer
required

Room type ID.

date_from
string<date>
required

Arrival date in YYYY-MM-DD format.

date_to
string<date>
required

Departure date in YYYY-MM-DD format.

guest_1_loyalty_program_id
integer

Optional loyalty program ID for the first guest.

guest_2_loyalty_program_id
integer

Optional loyalty program ID for the second guest.

Response

Final price by language.

{key}
object