Actions91
- Account Setting Actions
- Addon Actions
- Ceiling Actions
- Company Info Actions
- Device Actions
- Exercise Actions
- Feedback Actions
- File Actions
- File Type Actions
- Gender Actions
- Guest Actions
- License Actions
- Log Actions
- Payment Actions
- Permission Actions
- Relationship Actions
- Role Actions
- Service Actions
- Service Price Actions
- Social Actions
- Topic Actions
- User Actions
- Workout Execution Actions
- Worksheet Actions
Overview
This node allows you to create a new service price entry in your GymControl system. It is useful when you want to set or update the pricing for a specific gym service programmatically. For example, if you manage multiple services like personal training sessions, group classes, or equipment rentals, this node helps automate the process of assigning prices to those services.
Typical use cases include:
- Automatically setting prices for new services added to your gym.
- Updating prices based on promotions or seasonal changes.
- Integrating with other systems to synchronize service pricing.
Properties
| Name | Meaning |
|---|---|
| Show Complete Response | Boolean flag to determine whether to output the full API response or just essential data. |
| Service | The gym service to which the price applies. You can select it by ID or from a searchable list of existing services. |
| Price | The numeric price value to assign to the selected service. Must be zero or greater. |
Output
The node outputs JSON data representing the newly created service price record as returned by the GymControl API. If "Show Complete Response" is enabled, the entire API response is returned; otherwise, only the relevant data subset is provided.
No binary data output is involved.
Dependencies
- Requires an API key credential for authenticating with the GymControl API.
- The node uses the base URL and authentication token configured in the credentials.
- The API endpoint used is
/services_priceswith HTTP POST method.
Troubleshooting
- Authentication errors: Ensure that the API key credential is correctly configured and has sufficient permissions.
- Invalid service selection: Make sure the service ID exists and is accessible. Use the search list mode to find valid services.
- Price validation: The price must be a non-negative number. Negative values will likely cause API errors.
- API connectivity issues: Verify network access to the GymControl API URL and that the URL is correct in the credentials.
Common error messages may include unauthorized access, invalid input data, or resource not found. Checking the API response details (especially when "Show Complete Response" is enabled) can help diagnose these issues.
Links and References
- GymControl API documentation (refer to your GymControl provider's official docs)
- n8n documentation on creating custom nodes and using resource locators