[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:56:24 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23336

--- Comment #66 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
(In reply to Jan Kissig from comment #65)
> > 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

I think you would use "List items" with a query for the barcode.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list