Skip to main content
PUT
Update Booking

Description

This endpoint allows you to update an existing booking. You can modify any booking field, including schedules, status, customer information, and notes.

Authentication

string
required
Your LatePoint API Key with write permissions

Path Parameters

integer
required
Unique ID of the booking to update

Request Body

Booking Fields

integer
Service ID (requires availability verification if changed)
integer
Agent ID (requires availability verification if changed)
integer
Location ID
string
New booking date (format: YYYY-MM-DD)
string
New start time (format: HH:MM in 24-hour format)
integer
Custom duration in minutes
string
Booking statusPossible values:
  • pending - Pending
  • approved - Approved
  • cancelled - Cancelled
  • completed - Completed
  • no_show - No show

Customer Information

integer
Change to a different customer (customer ID)
string
Update customer first name
string
Update customer last name
string
Update customer email
string
Update customer phone

Additional Fields

string
Custom price for this booking
string
Public booking notes
boolean
default:"false"
Whether to send notification to customer about changes

Response

Successful Response (200 OK)

string
Response status (“success”)
object
Updated booking object with all fields

Examples

Change Booking Status

Error Codes

Validations

Automatic Validations

  1. Availability: If you change date, time or agent, availability is verified
  2. Valid States: Only allows valid status transitions
  3. Dates: Does not allow changing to past dates
  4. Unique Email: Verifies that email is not in use by another customer
  5. Permissions: Verifies that you have permissions to modify the booking

Status Transition Rules

Common Use Cases

1. Confirm Pending Booking

2. Reschedule with Availability Check