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-09-08T00:31:26.369Z","updated_at": "2024-09-08T00:31:26.369Z","order": 0}
id
Filter<uuid>
Unique identifier
product_id
Filter<uuid>
Identifier of the related unit
service_id
Filter<uuid>
Identifier of the related service
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
order
Filter<integer>
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<uuid>
Unique identifier
product_id
Filter<uuid>
Identifier of the related unit
service_id
Filter<uuid>
Identifier of the related service
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
order
Filter<integer>
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<uuid>
Unique identifier
product_id
Filter<uuid>
Identifier of the related unit
service_id
Filter<uuid>
Identifier of the related service
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
order
Filter<integer>
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 '{}'