Core resources
Administration
Booking flow
Defines for which services a coupon applies. Only checked when coupon.scope
is service
.
id
uuid
Unique identifier
created_at
timestamp with time zone
Creation timestamp
{"id": "00000000-0000-0000-0000-000000000000","coupon_id": "00000000-0000-0000-0000-000000000000","service_id": "00000000-0000-0000-0000-000000000000","created_at": "2024-12-21T11:49:07.933Z"}
id
Filter<>
Unique identifier
coupon_id
Filter<>
Coupon this coupon-service-link is related to
service_id
Filter<>
Service this coupon-service-link is related to
created_at
Filter<>
Creation timestamp
200
A list of coupon services with the selected columns
206
Partial Content
GET
/coupon_services
curl -X GET "https://api.bookingmood.com/v1/coupon_services?select=*" \ -H "Authorization: Bearer YOUR_API_KEY"
Partial<CouponService>
| Array<Partial<CouponService>>
201
The newly created coupon services with the selected columns
POST
/coupon_services
curl -X POST "https://api.bookingmood.com/v1/coupon_services" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '[]'
id
Filter<>
Unique identifier
coupon_id
Filter<>
Coupon this coupon-service-link is related to
service_id
Filter<>
Service this coupon-service-link is related to
created_at
Filter<>
Creation timestamp
204
The deleted coupon services with the selected columns
DELETE
/coupon_services
curl -X DELETE "https://api.bookingmood.com/v1/coupon_services" \ -H "Authorization: Bearer YOUR_API_KEY"
id
Filter<>
Unique identifier
coupon_id
Filter<>
Coupon this coupon-service-link is related to
service_id
Filter<>
Service this coupon-service-link is related to
created_at
Filter<>
Creation timestamp
Partial<CouponService>
204
The updated coupon services with the selected columns
PATCH
/coupon_services
curl -X PATCH "https://api.bookingmood.com/v1/coupon_services" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'