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-09-08T01:18:33.392Z","updated_at": "2024-09-08T01:18:33.392Z","moment": {},"value": {}}
id
Filter<uuid>
Unique identifier
service_id
Filter<uuid>
Identifier of the related service
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
moment
Filter<jsonb>
Moment at which the deposit should be paid. Formatted as { type: "check-in" | "checkout" | "confirmation" | "on-site" | "request", offset: integer }
value
Filter<jsonb>
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<uuid>
Unique identifier
service_id
Filter<uuid>
Identifier of the related service
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
moment
Filter<jsonb>
Moment at which the deposit should be paid. Formatted as { type: "check-in" | "checkout" | "confirmation" | "on-site" | "request", offset: integer }
value
Filter<jsonb>
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<uuid>
Unique identifier
service_id
Filter<uuid>
Identifier of the related service
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
moment
Filter<jsonb>
Moment at which the deposit should be paid. Formatted as { type: "check-in" | "checkout" | "confirmation" | "on-site" | "request", offset: integer }
value
Filter<jsonb>
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 '{}'