Core resources
Administration
Booking flow
Season definitions. Useful for making re-usable pricing definitions
id
uuid
Unique identifier
organization_id
uuid
Identifier of the organization this season is defined in
created_at
timestamp with time zone
Creation timestamp
updated_at
timestamp with time zone
Last modification timestamp
name
jsonb
Localized name
value
jsonb | null
List of intervals defining the season
{"id": "00000000-0000-0000-0000-000000000000","organization_id": "00000000-0000-0000-0000-000000000000","created_at": "2024-11-21T14:03:35.862Z","updated_at": "2024-11-21T14:03:35.862Z","name": {},"value": {}}
id
Filter<>
Unique identifier
organization_id
Filter<>
Identifier of the organization this season is defined in
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
name
Filter<>
Localized name
value
Filter<>
List of intervals defining the season
200
A list of seasons with the selected columns
206
Partial Content
GET
/seasons
curl -X GET "https://api.bookingmood.com/v1/seasons?select=*" \ -H "Authorization: Bearer YOUR_API_KEY"
Partial<Season>
| Array<Partial<Season>>
201
The newly created seasons with the selected columns
POST
/seasons
curl -X POST "https://api.bookingmood.com/v1/seasons" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '[]'
id
Filter<>
Unique identifier
organization_id
Filter<>
Identifier of the organization this season is defined in
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
name
Filter<>
Localized name
value
Filter<>
List of intervals defining the season
204
The deleted seasons with the selected columns
DELETE
/seasons
curl -X DELETE "https://api.bookingmood.com/v1/seasons" \ -H "Authorization: Bearer YOUR_API_KEY"
id
Filter<>
Unique identifier
organization_id
Filter<>
Identifier of the organization this season is defined in
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
name
Filter<>
Localized name
value
Filter<>
List of intervals defining the season
Partial<Season>
204
The updated seasons with the selected columns
PATCH
/seasons
curl -X PATCH "https://api.bookingmood.com/v1/seasons" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'