booking_creation

Retrieves the packages applicable for a given proposal.

get/v0/proposals/{proposal_id}/alternative_packages

Request

  • Base URL: https://api.clubmed.com
  • URL: https://api.clubmed.com/v0/proposals/{proposal_id}/alternative_packages
  • 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

idstring required

a package_id from /products/{product_id}/packages resource

Example response

[
  {
    "id": "AI",
    "differential_price": {
      "amount": 42,
      "currency": "EUR"
    },
    "_links": [
      {
        "rel": "self",
        "deprecated_rel": true,
        "method": "GET",
        "href": "https://api.clubmed.com/products",
        "label": "A label"
      }
    ]
  }
]

Changes

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