Core resources
Administration
Booking flow
Taxes applying on line items
id
uuid
Unique identifier
amount
integer
Amount of the tax
name
jsonb
Name of the tax
percentage
real
Percentage of the tax
type
"on-top" | "included"
Type of the tax
{"id": "00000000-0000-0000-0000-000000000000","line_item_id": "00000000-0000-0000-0000-000000000000","tax_id": "00000000-0000-0000-0000-000000000000","amount": 0,"name": {},"percentage": 0,"type": "on-top"}
id
Filter<>
Unique identifier
line_item_id
Filter<>
Identifier of the related line item
tax_id
Filter<>
Identifier of the related tax
amount
Filter<>
Amount of the tax
name
Filter<>
Name of the tax
percentage
Filter<>
Percentage of the tax
type
Filter<>
Type of the tax
200
A list of line item taxes with the selected columns
206
Partial Content
GET
/line_item_taxes
curl -X GET "https://api.bookingmood.com/v1/line_item_taxes?select=*" \ -H "Authorization: Bearer YOUR_API_KEY"
Partial<LineItemTax>
| Array<Partial<LineItemTax>>
201
The newly created line item taxes with the selected columns
POST
/line_item_taxes
curl -X POST "https://api.bookingmood.com/v1/line_item_taxes" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '[]'
id
Filter<>
Unique identifier
line_item_id
Filter<>
Identifier of the related line item
tax_id
Filter<>
Identifier of the related tax
amount
Filter<>
Amount of the tax
name
Filter<>
Name of the tax
percentage
Filter<>
Percentage of the tax
type
Filter<>
Type of the tax
204
The deleted line item taxes with the selected columns
DELETE
/line_item_taxes
curl -X DELETE "https://api.bookingmood.com/v1/line_item_taxes" \ -H "Authorization: Bearer YOUR_API_KEY"
id
Filter<>
Unique identifier
line_item_id
Filter<>
Identifier of the related line item
tax_id
Filter<>
Identifier of the related tax
amount
Filter<>
Amount of the tax
name
Filter<>
Name of the tax
percentage
Filter<>
Percentage of the tax
type
Filter<>
Type of the tax
Partial<LineItemTax>
204
The updated line item taxes with the selected columns
PATCH
/line_item_taxes
curl -X PATCH "https://api.bookingmood.com/v1/line_item_taxes" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'