[#522] How to use edit book to save client_membership_id?

Migrated from Redmine #522 | Author: Sajid Shah
Status: Feedback | Priority: High, I’m very impatient | Created: 2020-04-24


I am updating additional fields for my bookings using editBook endpoint. Everytime I update booking I lose the client_membership_id. How do i pass client_membership_id with editBook to so the membership is charged against my booking. right now, the booking becomes free everytime i update additional fields.

editBook ($shedulerId, $eventId, $unitId, $clientId, $startDate, $startTime, $endDate, $endTime, $clientTimeOffset, $additional)

This has no option for membership id.

Thank you

Dmytro Bondarev wrote:

You should pass @client_membership_id@ to $additional the same way as you pass it when you make booking.