Easy!Appointments icon

Easy!Appointments

Interact with Easy!Appointments API

Actions21

Overview

This node interacts with the Easy!Appointments API to update an existing service record. It allows users to modify details such as the service's name, duration, price, and various optional attributes like currency, location, description, availability type, number of attendants, privacy status, and category ID.

Common scenarios for this node include:

  • Updating pricing or duration of a service offered by a business.
  • Changing the description or location details of a service.
  • Adjusting availability settings or categorization of services in an appointment scheduling system.

For example, a salon might use this node to update the duration and price of a haircut service after changing their pricing structure.

Properties

Name Meaning
Service ID The unique identifier of the service to update.
Name The new name of the service.
Duration (Minutes) The length of the service in minutes.
Price The cost of the service.
Additional Fields Optional extra fields to specify more details about the service:
- Currency The currency code for the service price (e.g., USD).
- Location The physical location where the service is provided.
- Description A textual description of the service.
- Availabilities Type The type of availability schedule for the service; options are "Flexible" or "Fixed".
- Attendants Number Number of attendants required for the service.
- Is Private Boolean indicating if the service is private (true) or not (false).
- Service Category ID Numeric ID representing the category this service belongs to.

Output

The node outputs JSON data representing the updated service object returned from the Easy!Appointments API. This typically includes all the service properties after the update has been applied.

No binary data output is involved.

Dependencies

  • Requires an active connection to the Easy!Appointments API.
  • Needs an API authentication token or key configured in the node credentials to authorize requests.
  • The base URL of the Easy!Appointments instance must be set in the credentials.

Troubleshooting

  • Invalid Service ID: If the provided Service ID does not exist, the API will likely return an error. Verify the ID before updating.
  • Missing Required Fields: Name, Duration, and Price are mandatory. Omitting these will cause errors.
  • Invalid Data Types: Ensure numeric fields like Duration, Price, Attendants Number, and Service Category ID are numbers.
  • JSON Parsing Errors: Although not directly applicable here, if additional fields were JSON, malformed input could cause failures.
  • API Connectivity Issues: Check network connectivity and API credentials if requests fail.

Links and References

Discussion