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-09-08T00:37:08.322Z","updated_at": "2024-09-08T00:37:08.322Z","name": {},"value": {}}
id
Filter<uuid>
Unique identifier
organization_id
Filter<uuid>
Identifier of the organization this season is defined in
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
name
Filter<jsonb>
Localized name
value
Filter<jsonb>
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<uuid>
Unique identifier
organization_id
Filter<uuid>
Identifier of the organization this season is defined in
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
name
Filter<jsonb>
Localized name
value
Filter<jsonb>
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<uuid>
Unique identifier
organization_id
Filter<uuid>
Identifier of the organization this season is defined in
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
name
Filter<jsonb>
Localized name
value
Filter<jsonb>
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 '{}'