Customer
Customer schema used by the TheBooking public API.
Fields
| Field | Required | Type | Description |
|---|---|---|---|
id | No | string | Resource identifier used by TheBooking. |
name | No | string | Display name shown in the administration panel and booking flows. |
email | No | string (email) | Customer or provider email address. |
phone | No | string | Customer phone number. |
wp_user | No | integer | Linked WordPress user ID returned by TheBooking. |
timezone | No | string or null | IANA timezone for customer-facing date and time handling. |
language | No | string or null | Customer 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"
}