Skip to main content

Customer

Customer schema used by the TheBooking public API.

Fields​

FieldRequiredTypeDescription
idNostringResource identifier used by TheBooking.
nameNostringDisplay name shown in the administration panel and booking flows.
emailNostring (email)Customer or provider email address.
phoneNostringCustomer phone number.
wp_userNointegerLinked WordPress user ID returned by TheBooking.
timezoneNostring or nullIANA timezone for customer-facing date and time handling.
languageNostring or nullCustomer language code used for localized communication when available.

Example​

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