Create a rental

Creates a new rental (pickup or return) according to the specified parameters (location, battery and eventually a user_coupon).

POST https://{POS_API_URL}/api/v2/rentals/{:rental_type}/locations/{:location_id}/batteries/{:battery_id}(/users/{:user_coupon})

Request / response

The request / response structure is shared with Get pricing endpoint. The only difference is the HTTP verb used (POST vs GET). Check out Request / response.