[Koha-bugs] [Bug 30979] Add ability for OPAC users to checkout to themselves
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jan 13 12:51:10 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30979
--- Comment #23 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 145266
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=145266&action=edit
Bug 30979: Public checkout API's
This patch adds API's to allow for a checkout flow using the RESTful
API.
We add an availability endpoint to check an items current availability
status. The endpoint can be found at `/public/checkouts/availability`
and is a GET request that requires item_id and patron_id passed as
parameters. We return an availability object that includes blockers,
confirms, warnings and a confirmation token to be used for checkout.
We also add a corresponding checkout endpoint at `/public/checkouts`
that accepts a POST request with checkout details including item_id and
a confirmation token in the body.
Future work: We should properly migrate CanBookBeIssued into Koha::* and
use that here instead of refering to C4::Circulation.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list