booking_creation

Retrieves the rates applicable for a given proposal

get/v0/proposals/{proposal_id}/alternative_rates

Request

  • Base URL: https://api.clubmed.com
  • URL: https://api.clubmed.com/v0/proposals/{proposal_id}/alternative_rates
  • Auth: HTTP bearer

Path parameters

proposal_idstring required

Proposal identifier

Example:123456

Headers

x-api-keystring required

Api_key provided by ClubMed API team

Response

ok

type'STANDARD_RATE' | 'FLEXIBLE_RATE' | 'NON_REFUNDABLE_RATE' required

The type of rate

currencystring required

The iso 3 currency. Ex: CNY,EUR,..

price_differencenumber required

Indicates the price difference between the applicable rate and the already applied rate of the given proposal

Example response

[
  {
    "type": "FLEXIBLE_RATE",
    "currency": "EUR",
    "price_difference": 42
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.