Core resources
Administration
Booking flow
Re-usable elements that can be included in the booking forms of units
id
uuid
Unique identifier
organization_id
uuid
Identifier of the organization this service is defined in
created_at
timestamp with time zone
Creation timestamp
updated_at
timestamp with time zone
Last modification timestamp
deposit
jsonb | null
Deposit of the service
deposit_refund_moment
jsonb | null
deposit_refund_policy
jsonb
description
jsonb
Localized description
fts
tsvector
Full text search index
label
jsonb
Localized label
meta
jsonb
Meta data of the service
order
smallint
Identifier of the parent service. Only applicable for services with type 'multiple-choice-option'.
price
jsonb | null
Price of the service
type
text
Type of the service
{"id": "00000000-0000-0000-0000-000000000000","organization_id": "00000000-0000-0000-0000-000000000000","parent_id": "00000000-0000-0000-0000-000000000000","created_at": "2024-09-08T01:19:47.794Z","updated_at": "2024-09-08T01:19:47.794Z","deposit": {},"deposit_refund_moment": {},"deposit_refund_policy": {},"description": {},"label": {},"meta": {},"order": 0,"price": {},"type": ""}
id
Filter<uuid>
Unique identifier
organization_id
Filter<uuid>
Identifier of the organization this service is defined in
parent_id
Filter<uuid>
Identifier of the parent service
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
deposit
Filter<jsonb>
Deposit of the service
deposit_refund_moment
Filter<jsonb>
deposit_refund_policy
Filter<jsonb>
description
Filter<jsonb>
Localized description
fts
Filter<tsvector>
Full text search index
label
Filter<jsonb>
Localized label
meta
Filter<jsonb>
Meta data of the service
order
Filter<smallint>
Identifier of the parent service. Only applicable for services with type 'multiple-choice-option'.
price
Filter<jsonb>
Price of the service
type
Filter<text>
Type of the service
200
A list of services with the selected columns
206
Partial Content
GET
/services
curl -X GET "https://api.bookingmood.com/v1/services?select=*" \ -H "Authorization: Bearer YOUR_API_KEY"
Partial<Service>
| Array<Partial<Service>>
201
The newly created services with the selected columns
POST
/services
curl -X POST "https://api.bookingmood.com/v1/services" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '[]'
id
Filter<uuid>
Unique identifier
organization_id
Filter<uuid>
Identifier of the organization this service is defined in
parent_id
Filter<uuid>
Identifier of the parent service
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
deposit
Filter<jsonb>
Deposit of the service
deposit_refund_moment
Filter<jsonb>
deposit_refund_policy
Filter<jsonb>
description
Filter<jsonb>
Localized description
fts
Filter<tsvector>
Full text search index
label
Filter<jsonb>
Localized label
meta
Filter<jsonb>
Meta data of the service
order
Filter<smallint>
Identifier of the parent service. Only applicable for services with type 'multiple-choice-option'.
price
Filter<jsonb>
Price of the service
type
Filter<text>
Type of the service
204
The deleted services with the selected columns
DELETE
/services
curl -X DELETE "https://api.bookingmood.com/v1/services" \ -H "Authorization: Bearer YOUR_API_KEY"
id
Filter<uuid>
Unique identifier
organization_id
Filter<uuid>
Identifier of the organization this service is defined in
parent_id
Filter<uuid>
Identifier of the parent service
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
deposit
Filter<jsonb>
Deposit of the service
deposit_refund_moment
Filter<jsonb>
deposit_refund_policy
Filter<jsonb>
description
Filter<jsonb>
Localized description
fts
Filter<tsvector>
Full text search index
label
Filter<jsonb>
Localized label
meta
Filter<jsonb>
Meta data of the service
order
Filter<smallint>
Identifier of the parent service. Only applicable for services with type 'multiple-choice-option'.
price
Filter<jsonb>
Price of the service
type
Filter<text>
Type of the service
Partial<Service>
204
The updated services with the selected columns
PATCH
/services
curl -X PATCH "https://api.bookingmood.com/v1/services" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'