Koha-clms/Koha/Acquisition
Julian Maurice 5e0a72f8a8
Bug 29668: Add API route to add a basket
Example usage:

POST /api/v1/acquisitions/baskets

{
    "vendor_id": 1,
    "name": "Basket #1",
}

Test plan:
1. Try requesting this endpoint with your favorite API tool
   (I recommend https://github.com/frigus02/RESTer)
2. Run `prove t/db_dependent/api/v1/acquisitions_baskets/post.t`

Edit (tcohen): Re-did the commit with some fixes in the spec

Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2026-01-21 15:28:09 -07:00
..
Bookseller Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
Invoice Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
Order Bug 39830: Add order claim object definition 2025-09-29 14:02:21 -06:00
Basket.pm Bug 29668: Add API route to add a basket 2026-01-21 15:28:09 -07:00
BasketGroup.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
BasketGroups.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
Baskets.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
Bookseller.pm Bug 38262: Enable additional fields support for acquisition vendors 2026-01-12 10:53:35 -07:00
Booksellers.pm Bug 38262: Enable additional fields support for acquisition vendors 2026-01-12 10:53:35 -07:00
Budget.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
Budgets.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
Currencies.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
Currency.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
Fund.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
Funds.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
Invoice.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
Invoices.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
Order.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
Orders.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00