Change the credits and validity of a client class pass¶
PATCH /api/v2/management/client-class-passes/{id}/ sets the credits left on a client class
pass with available_credits_amount and extends its validity with additional_validity_days,
like client appointment passes. Credits cannot change on an unlimited or refunded pass, a copy
of another pass, or a pass that also covers appointments (CCP-103), and a copy shared from a
related client cannot be extended (CCP-104). Client class passes now also return
validity_extension_days, the total days added by extensions, in responses and in the
client_class_pass.created and client_class_pass.updated webhook payloads.