5 Sep
2023
5 Sep
'23
9:50 a.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23336 --- Comment #65 from Jan Kissig <bibliothek@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.