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

--- Comment #65 from Jan Kissig <[email protected]> ---
> 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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to