Square icon

Square

Consume Square API

Booking → Update

AI-generated

Overview

This node updates an existing booking in the Square system. It is useful for scenarios where you need to modify details of a booking such as changing the start time, adding or updating customer or seller notes, or other booking-related fields. For example, a business could use this node to update a customer's appointment time or add special instructions to a booking.

Use Case Examples

  1. Updating the start time of a booking to a new date and time.
  2. Adding a customer note to an existing booking to provide additional information.
  3. Modifying the seller note to include internal comments about the booking.

Properties

Name Meaning
Booking ID The unique identifier of the booking to update.
Update Fields A collection of fields to update on the booking, such as customer note, seller note, and start time.

Output

JSON

  • booking
    • id - The ID of the updated booking.
    • customerNote - The updated customer note of the booking.
    • sellerNote - The updated seller note of the booking.
    • startAt - The updated start time of the booking.

Dependencies

  • Square API with authentication via an API key credential

Troubleshooting

  • Ensure the Booking ID provided is valid and exists in the Square system to avoid errors.
  • Make sure the update fields are correctly formatted, especially the date-time field which must be in RFC 3339 format.
  • Handle API errors gracefully, and use the 'continue on fail' option if available to process multiple items without stopping on errors.

Discussion