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-09-08T00:38:39.188Z","updated_at": "2024-09-08T00:38:39.188Z","label": {},"percentage": 0,"type": "on-top"}
id
Filter<uuid>
Unique identifier
organization_id
Filter<uuid>
Identifier of the organization this tax is defined in
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
fts
Filter<tsvector>
Full text search index
label
Filter<jsonb>
Localized label
percentage
Filter<real>
Percentage of the tax
type
Filter<"on-top" | "included">
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<uuid>
Unique identifier
organization_id
Filter<uuid>
Identifier of the organization this tax is defined in
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
fts
Filter<tsvector>
Full text search index
label
Filter<jsonb>
Localized label
percentage
Filter<real>
Percentage of the tax
type
Filter<"on-top" | "included">
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<uuid>
Unique identifier
organization_id
Filter<uuid>
Identifier of the organization this tax is defined in
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
fts
Filter<tsvector>
Full text search index
label
Filter<jsonb>
Localized label
percentage
Filter<real>
Percentage of the tax
type
Filter<"on-top" | "included">
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 '{}'