Create and update charges that apply at the property and room level, and setup up different configurations for different dates.
Create and update charges that apply at the property and room level, and setup up different configurations for different dates.
Learn how to effectively use the Try it feature in the Charges API documentation.
Use the Try it feature to send test request examples to the API endpoints directly from the developer portal and depending on the selected environment either see static, pre-built responses or dynamic responses from a test property.
You can select between two different environments (top right corner in the UI):
Test static response (default):
Test live endpoint:
Using the UI, toggle between Edit and Preview tabs to see the values applied to the path or query placeholders (if there are any). You can also click on any unresolved placeholders to add a value or edit an existing placeholder value.
The portal loads the default request body. Where the specification supports multiple request body examples (for example: Rooms API POST endpoint), you can choose a different request body from the drop-down list.
Some helpful pointers before running a request:
Authentication (when using live endpoint): Configure your authentication headers
Parameters: Fill in required parameters
propertyId)language_code)POST/PUT operationsExecute: Click Send to send the request