Core resources


Administration


Booking flow

Service taxes

Taxes applying per service

The service tax object

Attributes

iduuid

Unique identifier

service_iduuid
services.id

Identifier of the related service

tax_iduuid
taxes.id

Identifier of the related tax

created_attimestamp with time zone

Creation timestamp

The service tax object
{
"id": "00000000-0000-0000-0000-000000000000",
"service_id": "00000000-0000-0000-0000-000000000000",
"tax_id": "00000000-0000-0000-0000-000000000000",
"created_at": "2024-04-17T13:30:28.571Z"
}

List service taxes

Filters

idFilter<uuid>

Unique identifier

service_idFilter<uuid>

Identifier of the related service

tax_idFilter<uuid>

Identifier of the related tax

created_atFilter<timestamp with time zone>

Creation timestamp

Responses

200

A list of service taxes with the selected columns

206

Partial Content

GET/service_taxes
curl -X GET "https://api.bookingmood.com/v1/service_taxes?select=*" \
  -H "Authorization: Bearer YOUR_API_KEY"

Create service taxes

Body

Partial<ServiceTax>
| Array<Partial<ServiceTax>>

Responses

201

The newly created service taxes with the selected columns

POST/service_taxes
curl -X POST "https://api.bookingmood.com/v1/service_taxes" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '[]'

Delete service taxes

Filters

idFilter<uuid>

Unique identifier

service_idFilter<uuid>

Identifier of the related service

tax_idFilter<uuid>

Identifier of the related tax

created_atFilter<timestamp with time zone>

Creation timestamp

Responses

204

The deleted service taxes with the selected columns

DELETE/service_taxes
curl -X DELETE "https://api.bookingmood.com/v1/service_taxes" \
  -H "Authorization: Bearer YOUR_API_KEY"

Update service taxes

Filters

idFilter<uuid>

Unique identifier

service_idFilter<uuid>

Identifier of the related service

tax_idFilter<uuid>

Identifier of the related tax

created_atFilter<timestamp with time zone>

Creation timestamp

Body

Partial<ServiceTax>

Responses

204

The updated service taxes with the selected columns

PATCH/service_taxes
curl -X PATCH "https://api.bookingmood.com/v1/service_taxes" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{}'