GET Package Price

This endpoint calculates the price of a package for the nearest available date and with the configured minimum number of passengers. It uses the default customer currency configured in Toursys.

[ENDPOINT]/ToursysB2C/api/customQuotation/packagePrice/package=[PACKAGEID]

Headers

X-API-KEY (required, String) generatedToken

module (required, Integer)         Specifies the module. For B2C will always be 1

lang (optional, String)         Language for the API to return the information.  


Example Request

curl --location -g --request GET '{{endpoint}}/ToursysB2C/api/customQuotation/packagePrice/package={{packageId}}' \

--header 'x-api-key: {{x-api-key}}'\

--header 'module: 1'\

--header 'lang: {{language}}'

--data '{

    "packageDateCheckIn": "2023-06-24",

    "packageDateCheckOut": "2023-06-27",

    "packagePrice": "$511.32",

    "adults": 1

}'