Core resources
Administration
Booking flow
Deposit schedule per service
id
uuid
Unique identifier
created_at
timestamp with time zone
Creation timestamp
updated_at
timestamp with time zone
Last modification timestamp
moment
jsonb
Moment at which the deposit should be paid. Formatted as { type: "check-in" | "checkout" | "confirmation" | "on-site" | "request", offset: integer }
value
jsonb
Value of the deposit
{"id": "00000000-0000-0000-0000-000000000000","service_id": "00000000-0000-0000-0000-000000000000","created_at": "2024-12-09T09:30:09.047Z","updated_at": "2024-12-09T09:30:09.047Z","moment": {},"value": {}}
id
Filter<>
Unique identifier
service_id
Filter<>
Identifier of the related service
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
moment
Filter<>
Moment at which the deposit should be paid. Formatted as { type: "check-in" | "checkout" | "confirmation" | "on-site" | "request", offset: integer }
value
Filter<>
Value of the deposit
200
A list of service deposit moments with the selected columns
206
Partial Content
GET
/service_deposit_moments
curl -X GET "https://api.bookingmood.com/v1/service_deposit_moments?select=*" \ -H "Authorization: Bearer YOUR_API_KEY"
Partial<ServiceDepositMoment>
| Array<Partial<ServiceDepositMoment>>
201
The newly created service deposit moments with the selected columns
POST
/service_deposit_moments
curl -X POST "https://api.bookingmood.com/v1/service_deposit_moments" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '[]'
id
Filter<>
Unique identifier
service_id
Filter<>
Identifier of the related service
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
moment
Filter<>
Moment at which the deposit should be paid. Formatted as { type: "check-in" | "checkout" | "confirmation" | "on-site" | "request", offset: integer }
value
Filter<>
Value of the deposit
204
The deleted service deposit moments with the selected columns
DELETE
/service_deposit_moments
curl -X DELETE "https://api.bookingmood.com/v1/service_deposit_moments" \ -H "Authorization: Bearer YOUR_API_KEY"
id
Filter<>
Unique identifier
service_id
Filter<>
Identifier of the related service
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
moment
Filter<>
Moment at which the deposit should be paid. Formatted as { type: "check-in" | "checkout" | "confirmation" | "on-site" | "request", offset: integer }
value
Filter<>
Value of the deposit
Partial<ServiceDepositMoment>
204
The updated service deposit moments with the selected columns
PATCH
/service_deposit_moments
curl -X PATCH "https://api.bookingmood.com/v1/service_deposit_moments" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'