This endpoint should use a transaction to rent items so that rentals are all-or-nothing. It is currently possible for part of a rental to fail when just one item conflicts with an existing rental.
[x] Change the old rent route to take requests that don't have a Version header
[x] Add a new rent route that accepts batch rentals
This endpoint should use a transaction to rent items so that rentals are all-or-nothing. It is currently possible for part of a rental to fail when just one item conflicts with an existing rental.
Version
header