[Koha-bugs] [Bug 23336] Add an API endpoint for checking an item out to a patron
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Sep 5 09:50:27 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23336
--- Comment #65 from Jan Kissig <bibliothek at th-wildau.de> ---
> I'd suggest using two API calls..
> one to fetch the item by barcode and then
> a second that uses the item id returned to action the checkout.
It sounds a bit expensive to me, to fetch an item by its barcode first only to
get the item_id. Also fetching an item seems only possible via item_id as the
api docs show:
GET /api/v1/items/{item_id}
I would suggest to check which param is set, either item_id or barcode, and
then retrieve the item by the given param
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list