Actions30
- Accommodations API Actions
- Administrations API Actions
- Contacts API Actions
- Invoices API Actions
- Price Calculation API Actions
- Rates API Actions
- Reservations API Actions
- Timezones API Actions
Overview
This node interacts with the Starfish API for CampingCare and HotelCare, specifically supporting the 'Rates API' resource with an 'Add Rate' operation. It allows users to add a new rate by specifying details such as the rate's name, status, parent rate ID, and pricing rules. This node is useful for managing pricing structures in camping or hotel management systems, enabling automation of rate creation and updates.
Use Case Examples
- Adding a new rate with a fixed amount rule for a camping site.
- Creating a percentage-based pricing rule for hotel accommodations.
Properties
| Name | Meaning |
|---|---|
| Name | Name of the rate to be added. |
| Status | Status of the rate, such as active or archived. |
| Parent ID | Parent rate ID from which this rate inherits prices. |
| Rules | Pricing rules for the rate, including type (fixed or percentage) and amount. |
Output
JSON
id- Unique identifier of the newly created rate.name- Name of the created rate.status- Status of the created rate.parent_id- Parent rate ID if applicable.rules- Array of pricing rules associated with the rate.
Dependencies
- Requires an API key credential for authentication with the Starfish API.
Troubleshooting
- Common issues include authentication failures due to invalid or missing API keys. Ensure the API key credential is correctly configured.
- Validation errors may occur if required fields like 'Name' are missing or if rule amounts are invalid. Verify all required inputs are provided and correctly formatted.
- Network issues or incorrect proxy settings can cause request failures. Check network connectivity and proxy configuration if used.
Links
- Starfish API Rates Documentation - Official documentation for the Rates API used by this node.