Skip to main content

Provider

Provider schema used by the TheBooking public API.

Fields​

FieldRequiredTypeDescription
idNointeger or stringResource identifier used by TheBooking.
nameNostringDisplay name shown in the administration panel and booking flows.
emailNostring (email)Customer or provider email address.
tbk_PausedNobooleantrue when the provider is paused. Absent when never set.
tbk_RestrictServicesNoboolean
tbk_AllowedServicesNoarray of string

Example​

{
"id": 123,
"name": "Example name",
"email": "customer@example.com",
"tbk_Paused": true,
"tbk_RestrictServices": true,
"tbk_AllowedServices": [
"string"
]
}