add bookingquotaid relative

This commit is contained in:
i 2026-02-08 13:09:36 +01:00
parent 8ecdc32b36
commit 6da22801c8
3 changed files with 18 additions and 3 deletions

View file

@ -6,6 +6,7 @@ from config.constants import (
CHECKOUT_FORM_API,
ANNY_BASE_URL,
SERVICE_ID,
BOOKING_QUOTA_GRANT_ID,
)
@ -72,8 +73,7 @@ class BookingClient:
"add_ons_by_service": {SERVICE_ID: [[]]},
"sub_bookings_by_service": {},
# INFO: changes every week: e.g. booking for a monday needs new id
# "booking_quota_grant_id":"24735199",
"booking_quota_grant_id": "24735202",
"booking_quota_grant_id": str(BOOKING_QUOTA_GRANT_ID),
"strategy": "multi-resource",
},
# data = '{"resource_id":["15994"],"service_id":{"601":1},"start_date":"2026-02-03T22:30:00+01:00","end_date":"2026-02-03T23:30:00+01:00","description":"","customer_note":"","add_ons_by_service":{"601":[[]]},"sub_bookings_by_service":{},"booking_quota_grant_id":"24735199","strategy":"multi-resource"}'