https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24401 --- Comment #20 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 156885 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=156885&action=edit Bug 24401: Add API endpoint to check in items This adds a POST /checkouts/{checkout_id}/checkin/{library_id} endpoint for returning checkouts To test: - Run unit tests in t/db_dependent/api/v1/checkouts.t - Make POST request to http://yourlibrary/api/v1/checkouts/{checkout_id}/checkin/{library_id} where checkout_id is the ID of the checkout you're returning and library_id is the branchcode of the return library - Observe returned data - 400 incorrect params - 403 cannot be returned - 404 missing params - 201 item checked in Sponsored-by: Auckland University of Technology -- You are receiving this mail because: You are watching all bug changes.