Core resources
Administration
Booking flow
Automated emails active per unit
id
uuid
Unique identifier
created_at
timestamp with time zone
Creation timestamp
order
integer
Order of the email template as displayed in the admin
{"id": "00000000-0000-0000-0000-000000000000","email_template_id": "00000000-0000-0000-0000-000000000000","product_id": "00000000-0000-0000-0000-000000000000","created_at": "2024-12-06T05:23:35.622Z","order": 0}
id
Filter<>
Unique identifier
email_template_id
Filter<>
Identifier of the related email template
product_id
Filter<>
Identifier of the related unit
created_at
Filter<>
Creation timestamp
order
Filter<>
Order of the email template as displayed in the admin
200
A list of product email templates with the selected columns
206
Partial Content
GET
/product_email_templates
curl -X GET "https://api.bookingmood.com/v1/product_email_templates?select=*" \ -H "Authorization: Bearer YOUR_API_KEY"
Partial<ProductEmailTemplate>
| Array<Partial<ProductEmailTemplate>>
201
The newly created product email templates with the selected columns
POST
/product_email_templates
curl -X POST "https://api.bookingmood.com/v1/product_email_templates" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '[]'
id
Filter<>
Unique identifier
email_template_id
Filter<>
Identifier of the related email template
product_id
Filter<>
Identifier of the related unit
created_at
Filter<>
Creation timestamp
order
Filter<>
Order of the email template as displayed in the admin
204
The deleted product email templates with the selected columns
DELETE
/product_email_templates
curl -X DELETE "https://api.bookingmood.com/v1/product_email_templates" \ -H "Authorization: Bearer YOUR_API_KEY"
id
Filter<>
Unique identifier
email_template_id
Filter<>
Identifier of the related email template
product_id
Filter<>
Identifier of the related unit
created_at
Filter<>
Creation timestamp
order
Filter<>
Order of the email template as displayed in the admin
Partial<ProductEmailTemplate>
204
The updated product email templates with the selected columns
PATCH
/product_email_templates
curl -X PATCH "https://api.bookingmood.com/v1/product_email_templates" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'