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
Service Price → Delete
AI-generatedOverview
This node integrates with the GymControl API to manage service prices within a gym management system. Specifically, the "Delete" operation under the "Service Price" resource allows users to remove a particular service price entry by its unique identifier. This is useful for maintaining up-to-date pricing information, removing outdated or incorrect entries, and ensuring that the gym's service catalog reflects current offerings.
Practical examples include:
- Automatically deleting a service price when a promotion ends.
- Removing obsolete pricing after a service is discontinued.
- Cleaning up test or duplicate entries during data maintenance workflows.
Properties
| Name | Meaning |
|---|---|
| Show Complete Response | Boolean option to determine whether the full API response should be returned or not. |
| ID | The unique identifier of the service price entry to delete. This is required. |
Output
The node outputs JSON data representing the response from the GymControl API after attempting to delete the specified service price. If "Show Complete Response" is enabled, the entire API response is returned; otherwise, only essential confirmation or status information is provided.
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating requests to the GymControl API.
- The base URL for the GymControl instance must be configured in the credentials.
- The node uses HTTP DELETE requests to interact with the GymControl API endpoint for service prices.
Troubleshooting
Common Issues:
- Invalid or missing service price ID will cause the deletion to fail.
- Authentication errors if the API key or base URL is incorrect or expired.
- Network connectivity issues preventing access to the GymControl API.
Error Messages:
- "Unauthorized" or "Authentication failed": Check that the API key credential is correctly set and valid.
- "Not Found": The specified service price ID does not exist; verify the ID value.
- "Bad Request": The request parameters may be malformed; ensure the ID is properly formatted.
Resolving these typically involves verifying input parameters, checking credential configurations, and ensuring network access to the GymControl API.
Links and References
- GymControl API Documentation (hypothetical link)
- n8n HTTP Request Node documentation for understanding API interactions: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/