CustomerEdit
CustomerEdit schema used by the TheBooking public API.
Fields
| Field | Required | Type | Description |
|---|---|---|---|
id | Yes | 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. |
wpUserId | No | integer | Linked WordPress user ID. |
status | No | integer | Current reservation status. |
timezone | No | string or null | IANA 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"
}