https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23336 --- Comment #66 from Katrin Fischer <katrin.fischer@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.