Core resources
Administration
Booking flow
Re-usable tax definitions
id
uuid
Unique identifier
organization_id
uuid
Identifier of the organization this tax is defined in
created_at
timestamp with time zone
Creation timestamp
updated_at
timestamp with time zone
Last modification timestamp
fts
tsvector | null
Full text search index
label
jsonb
Localized label
percentage
real
Percentage of the tax
type
"on-top" | "included"
Type of the tax. Either on-top
or included
{"id": "00000000-0000-0000-0000-000000000000","organization_id": "00000000-0000-0000-0000-000000000000","created_at": "2024-12-06T04:31:14.596Z","updated_at": "2024-12-06T04:31:14.596Z","label": {},"percentage": 0,"type": "on-top"}
id
Filter<>
Unique identifier
organization_id
Filter<>
Identifier of the organization this tax is defined in
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
fts
Filter<>
Full text search index
label
Filter<>
Localized label
percentage
Filter<>
Percentage of the tax
type
Filter<>
Type of the tax. Either on-top
or included
200
A list of taxes with the selected columns
206
Partial Content
GET
/taxes
curl -X GET "https://api.bookingmood.com/v1/taxes?select=*" \ -H "Authorization: Bearer YOUR_API_KEY"
Partial<Tax>
| Array<Partial<Tax>>
201
The newly created taxes with the selected columns
POST
/taxes
curl -X POST "https://api.bookingmood.com/v1/taxes" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '[]'
id
Filter<>
Unique identifier
organization_id
Filter<>
Identifier of the organization this tax is defined in
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
fts
Filter<>
Full text search index
label
Filter<>
Localized label
percentage
Filter<>
Percentage of the tax
type
Filter<>
Type of the tax. Either on-top
or included
204
The deleted taxes with the selected columns
DELETE
/taxes
curl -X DELETE "https://api.bookingmood.com/v1/taxes" \ -H "Authorization: Bearer YOUR_API_KEY"
id
Filter<>
Unique identifier
organization_id
Filter<>
Identifier of the organization this tax is defined in
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
fts
Filter<>
Full text search index
label
Filter<>
Localized label
percentage
Filter<>
Percentage of the tax
type
Filter<>
Type of the tax. Either on-top
or included
Partial<Tax>
204
The updated taxes with the selected columns
PATCH
/taxes
curl -X PATCH "https://api.bookingmood.com/v1/taxes" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'