Skip to main content

CustomerEdit

CustomerEdit schema used by the TheBooking public API.

Fields

FieldRequiredTypeDescription
idYesstringResource identifier used by TheBooking.
nameNostringDisplay name shown in the administration panel and booking flows.
emailNostring (email)Customer or provider email address.
phoneNostringCustomer phone number.
wpUserIdNointegerLinked WordPress user ID.
statusNointegerCurrent reservation status.
timezoneNostring or nullIANA timezone for customer-facing date and time handling.

Example

{
"id": "resource_123",
"name": "Example name",
"email": "customer@example.com",
"phone": "+1 555 0100",
"wpUserId": 123,
"status": 1,
"timezone": "Europe/Rome"
}