Core resources
Administration
Booking flow
Attribute options assigned to each unit
id
uuid
Unique identifier
created_at
timestamp with time zone
Creation timestamp
{"id": "00000000-0000-0000-0000-000000000000","option_id": "00000000-0000-0000-0000-000000000000","product_id": "00000000-0000-0000-0000-000000000000","created_at": "2024-11-23T10:11:15.806Z"}
id
Filter<>
Unique identifier
option_id
Filter<>
Identifier of the related option
product_id
Filter<>
Identifier of the related unit
created_at
Filter<>
Creation timestamp
200
A list of product attribute options with the selected columns
206
Partial Content
GET
/product_attribute_options
curl -X GET "https://api.bookingmood.com/v1/product_attribute_options?select=*" \ -H "Authorization: Bearer YOUR_API_KEY"
Partial<ProductAttributeOption>
| Array<Partial<ProductAttributeOption>>
201
The newly created product attribute options with the selected columns
POST
/product_attribute_options
curl -X POST "https://api.bookingmood.com/v1/product_attribute_options" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '[]'
id
Filter<>
Unique identifier
option_id
Filter<>
Identifier of the related option
product_id
Filter<>
Identifier of the related unit
created_at
Filter<>
Creation timestamp
204
The deleted product attribute options with the selected columns
DELETE
/product_attribute_options
curl -X DELETE "https://api.bookingmood.com/v1/product_attribute_options" \ -H "Authorization: Bearer YOUR_API_KEY"
id
Filter<>
Unique identifier
option_id
Filter<>
Identifier of the related option
product_id
Filter<>
Identifier of the related unit
created_at
Filter<>
Creation timestamp
Partial<ProductAttributeOption>
204
The updated product attribute options with the selected columns
PATCH
/product_attribute_options
curl -X PATCH "https://api.bookingmood.com/v1/product_attribute_options" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'