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

            Bug ID: 37253
           Summary: Enhance POST /checkouts endpoint to accept barcode or
                    item_id
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: REST API
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

By now a new checkout is built at least by params patron_id and item_id.

This makes it a bit difficult if you only have a barcode of the item available,
f.e. from RFID middleware applications, as you have to make another API call to
retrieve the item_id for a barcode first.

I would propose to enhance the POST /checkouts (addCheckout) route to accept
either item_id or barcode (external_id in API) as JSON params.

-- 
You are receiving this mail because:
You are the assignee for the bug.
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