[Koha-bugs] [Bug 37227] New: The /checkouts, /biblios/{biblios_id}/checkouts and /patrons/{patron_id}/checkouts endpoints should all use the same code