Skip to main content

CustomerCreate

CustomerCreate schema used by the TheBooking public API.

Fields​

FieldRequiredTypeDescription
nameYesstringDisplay name shown in the administration panel and booking flows.
emailYesstring (email)Customer or provider email address.
phoneNostringCustomer phone number.
wpUserIdNointegerLinked WordPress user ID.
timezoneNostring or nullIANA timezone for customer-facing date and time handling.
languageNostringCustomer language code used for localized communication when available.

Example​

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