Actions37
- Booking Actions
- Catalog Actions
- Customer Actions
- Invoice Actions
- Order Actions
Booking → Cancel
AI-generatedOverview
This node operation cancels a booking in the Square system. It requires the booking ID and a cancellation reason to process the cancellation. This is useful in scenarios where a scheduled booking needs to be invalidated due to customer or seller requests, or if the customer did not show up. For example, a business can automate the cancellation of appointments when customers request it or when no-shows occur, ensuring the booking system stays up-to-date.
Use Case Examples
- Cancel a booking with ID '12345' due to customer request.
- Automatically cancel bookings marked as 'Customer No Show' after a certain time.
Properties
| Name | Meaning |
|---|---|
| Booking ID | The ID of the booking to cancel. |
| Cancellation Reason | The reason for cancelling the booking, such as customer requested, seller requested, or customer no show. |
Output
JSON
id- The unique identifier of the cancelled booking.status- The status of the booking after cancellation.cancellation_reason- The reason provided for the cancellation.updated_at- Timestamp when the booking was last updated.
Dependencies
- Square API with appropriate API key credentials
Troubleshooting
- Ensure the booking ID provided is valid and exists in the Square system to avoid errors.
- The cancellation reason must be one of the predefined options; otherwise, the API request will fail.
- If the booking is already cancelled or completed, the cancellation request may be rejected by the API.
Links
- Square Bookings API - Cancel Booking - Official Square API documentation for cancelling bookings.