Core resources
Administration
Booking flow
Services included in the booking form of a unit
id
uuid
Unique identifier
created_at
timestamp with time zone
Creation timestamp
updated_at
timestamp with time zone
Last modification timestamp
order
integer
Order of the service in the booking form of the unit
{"id": "00000000-0000-0000-0000-000000000000","product_id": "00000000-0000-0000-0000-000000000000","service_id": "00000000-0000-0000-0000-000000000000","created_at": "2024-12-09T10:00:32.917Z","updated_at": "2024-12-09T10:00:32.917Z","order": 0}
id
Filter<>
Unique identifier
product_id
Filter<>
Identifier of the related unit
service_id
Filter<>
Identifier of the related service
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
order
Filter<>
Order of the service in the booking form of the unit
200
A list of product services with the selected columns
206
Partial Content
GET
/product_services
curl -X GET "https://api.bookingmood.com/v1/product_services?select=*" \ -H "Authorization: Bearer YOUR_API_KEY"
Partial<ProductService>
| Array<Partial<ProductService>>
201
The newly created product services with the selected columns
POST
/product_services
curl -X POST "https://api.bookingmood.com/v1/product_services" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '[]'
id
Filter<>
Unique identifier
product_id
Filter<>
Identifier of the related unit
service_id
Filter<>
Identifier of the related service
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
order
Filter<>
Order of the service in the booking form of the unit
204
The deleted product services with the selected columns
DELETE
/product_services
curl -X DELETE "https://api.bookingmood.com/v1/product_services" \ -H "Authorization: Bearer YOUR_API_KEY"
id
Filter<>
Unique identifier
product_id
Filter<>
Identifier of the related unit
service_id
Filter<>
Identifier of the related service
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
order
Filter<>
Order of the service in the booking form of the unit
Partial<ProductService>
204
The updated product services with the selected columns
PATCH
/product_services
curl -X PATCH "https://api.bookingmood.com/v1/product_services" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'