Core resources


Administration


Booking flow

Services

Re-usable elements that can be included in the booking forms of units

The service object

Attributes

iduuid

Unique identifier

organization_iduuid

Identifier of the organization this service is defined in

parent_iduuid | null
services.id

Identifier of the parent service

created_attimestamp with time zone

Creation timestamp

updated_attimestamp with time zone

Last modification timestamp

depositjsonb | null

Deposit of the service

deposit_refund_momentjsonb | null
deposit_refund_policyjsonb
descriptionjsonb

Localized description

ftstsvector

Full text search index

labeljsonb

Localized label

metajsonb

Meta data of the service

ordersmallint

Identifier of the parent service. Only applicable for services with type 'multiple-choice-option'.

pricejsonb | null

Price of the service

typetext

Type of the service

The service object
{
"id": "00000000-0000-0000-0000-000000000000",
"organization_id": "00000000-0000-0000-0000-000000000000",
"parent_id": "00000000-0000-0000-0000-000000000000",
"created_at": "2024-11-21T13:57:15.732Z",
"updated_at": "2024-11-21T13:57:15.732Z",
"deposit": {},
"deposit_refund_moment": {},
"deposit_refund_policy": {},
"description": {},
"label": {},
"meta": {},
"order": 0,
"price": {},
"type": ""
}

List services

Filters

idFilter<>

Unique identifier

organization_idFilter<>

Identifier of the organization this service is defined in

parent_idFilter<>

Identifier of the parent service

created_atFilter<>

Creation timestamp

updated_atFilter<>

Last modification timestamp

depositFilter<>

Deposit of the service

deposit_refund_momentFilter<>
deposit_refund_policyFilter<>
descriptionFilter<>

Localized description

ftsFilter<>

Full text search index

labelFilter<>

Localized label

metaFilter<>

Meta data of the service

orderFilter<>

Identifier of the parent service. Only applicable for services with type 'multiple-choice-option'.

priceFilter<>

Price of the service

typeFilter<>

Type of the service

Responses

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"

Create services

Body

Partial<Service>
| Array<Partial<Service>>

Responses

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 '[]'

Delete services

Filters

idFilter<>

Unique identifier

organization_idFilter<>

Identifier of the organization this service is defined in

parent_idFilter<>

Identifier of the parent service

created_atFilter<>

Creation timestamp

updated_atFilter<>

Last modification timestamp

depositFilter<>

Deposit of the service

deposit_refund_momentFilter<>
deposit_refund_policyFilter<>
descriptionFilter<>

Localized description

ftsFilter<>

Full text search index

labelFilter<>

Localized label

metaFilter<>

Meta data of the service

orderFilter<>

Identifier of the parent service. Only applicable for services with type 'multiple-choice-option'.

priceFilter<>

Price of the service

typeFilter<>

Type of the service

Responses

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"

Update services

Filters

idFilter<>

Unique identifier

organization_idFilter<>

Identifier of the organization this service is defined in

parent_idFilter<>

Identifier of the parent service

created_atFilter<>

Creation timestamp

updated_atFilter<>

Last modification timestamp

depositFilter<>

Deposit of the service

deposit_refund_momentFilter<>
deposit_refund_policyFilter<>
descriptionFilter<>

Localized description

ftsFilter<>

Full text search index

labelFilter<>

Localized label

metaFilter<>

Meta data of the service

orderFilter<>

Identifier of the parent service. Only applicable for services with type 'multiple-choice-option'.

priceFilter<>

Price of the service

typeFilter<>

Type of the service

Body

Partial<Service>

Responses

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 '{}'