Description
This endpoint allows you to update an existing booking. You can modify any booking field, including schedules, status, customer information, and notes.Authentication
Your LatePoint API Key with write permissions
Path Parameters
Unique ID of the booking to update
Request Body
Booking Fields
Service ID (requires availability verification if changed)
Agent ID (requires availability verification if changed)
Location ID
New booking date (format: YYYY-MM-DD)
New start time (format: HH:MM in 24-hour format)
Custom duration in minutes
Booking statusPossible values:
pending
- Pendingapproved
- Approvedcancelled
- Cancelledcompleted
- Completedno_show
- No show
Customer Information
Change to a different customer (customer ID)
Update customer first name
Update customer last name
Update customer email
Update customer phone
Additional Fields
Custom price for this booking
Public booking notes
Whether to send notification to customer about changes
Response
Successful Response (200 OK)
Response status (“success”)
Updated booking object with all fields
Examples
Change Booking Status
Error Codes
Validations
Automatic Validations
- Availability: If you change date, time or agent, availability is verified
- Valid States: Only allows valid status transitions
- Dates: Does not allow changing to past dates
- Unique Email: Verifies that email is not in use by another customer
- Permissions: Verifies that you have permissions to modify the booking
Status Transition Rules
Current Status | Allowed States |
---|---|
pending | approved , cancelled |
approved | completed , cancelled , no_show |
cancelled | pending , approved |
completed | cancelled (special permissions only) |
no_show | approved , cancelled |