Core resources
Administration
Booking flow
Invoices for bookings
id
uuid
Unique identifier
organization_id
uuid
Identifier of the organization this invoice is defined in
created_at
timestamp with time zone
Creation timestamp
updated_at
timestamp with time zone
Last modification timestamp
reference
text
Invoice reference
{"id": "00000000-0000-0000-0000-000000000000","booking_id": "00000000-0000-0000-0000-000000000000","organization_id": "00000000-0000-0000-0000-000000000000","created_at": "2024-11-21T14:27:11.253Z","updated_at": "2024-11-21T14:27:11.253Z","reference": ""}
id
Filter<>
Unique identifier
booking_id
Filter<>
Identifier of the related booking
organization_id
Filter<>
Identifier of the organization this invoice is defined in
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
reference
Filter<>
Invoice reference
200
A list of invoices with the selected columns
206
Partial Content
GET
/invoices
curl -X GET "https://api.bookingmood.com/v1/invoices?select=*" \ -H "Authorization: Bearer YOUR_API_KEY"
Partial<Invoice>
| Array<Partial<Invoice>>
201
The newly created invoices with the selected columns
POST
/invoices
curl -X POST "https://api.bookingmood.com/v1/invoices" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '[]'
id
Filter<>
Unique identifier
booking_id
Filter<>
Identifier of the related booking
organization_id
Filter<>
Identifier of the organization this invoice is defined in
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
reference
Filter<>
Invoice reference
204
The deleted invoices with the selected columns
DELETE
/invoices
curl -X DELETE "https://api.bookingmood.com/v1/invoices" \ -H "Authorization: Bearer YOUR_API_KEY"
id
Filter<>
Unique identifier
booking_id
Filter<>
Identifier of the related booking
organization_id
Filter<>
Identifier of the organization this invoice is defined in
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
reference
Filter<>
Invoice reference
Partial<Invoice>
204
The updated invoices with the selected columns
PATCH
/invoices
curl -X PATCH "https://api.bookingmood.com/v1/invoices" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'