Actions38
- Bookings Actions
- Customers Actions
- Agents Actions
- Services Actions
- Payments Actions
- Orders Actions
- Coupons Actions
- Locations Actions
- Availability Actions
Bookings → Update
AI-generatedSummary
Updates an existing LatePoint booking by sending a PUT request to /bookings/{id}, with the new values supplied through individual fields or a custom JSON/form body.
Inputs
- ID (required) — ID of the booking to update. It is appended to the endpoint as /bookings/{id}.
- Send Body — When enabled, the request body comes from JSON Body or Form Data. Additional Fields is ignored. Defaults to false.
- Body Content Type — Shown when Send Body is on. Choose JSON or Form Data. Both are sent to the API as a JSON object.
- JSON Body — Shown for the JSON content type. A JSON object used as the request body. Invalid JSON throws an error.
- Form Data — Shown for the Form Data content type. Name/value pairs that are built into a body object.
- Additional Fields — Used when Send Body is off. Booking fields to change: Service ID, Agent ID, Customer ID, Start Date (YYYY-MM-DD), Start Time (HH:MM), End Time, Status (default 'approved'), and Notes. Only fields you add are sent.
- Description — Free-text prompt for AI tool use. The source does not send it to the API.
Output shape
One item per input item. Its json is the response's data property if present, otherwise the raw response (an array response becomes one item per element).
If continue-on-fail is enabled, a failed item returns {error: message}. Default values for Additional Fields use $fromAI expressions, so adding a field may prefill it with an AI-supplied value. Status defaults to 'approved' when that field is added.
Examples
Example 1: Reschedule a booking to a new date and time
ID=123; Additional Fields: Start Date=2025-03-10, Start Time=14:30
Example 2: Cancel a booking and add a note
ID=123; Additional Fields: Status=cancelled, Notes='Customer requested cancellation'
Example 3: Send a full custom payload
ID=123; Send Body=true; Body Content Type=JSON; JSON Body={"agent_id":3,"status":"pending"}