Create a booking reservation
POST {{baseUrl}}/reservations
Description
This API endpoint enables users to create reservations for Drayup bookings. It allows users to reserve a booking for a specified time period and provide additional booking details.
Notes
Please ensure that you have the necessary authentication and authorization to access this endpoint.
Prior to making a reservation, it is essential to ensure that at least one valid payment method has been added to the Drayup application. Once a payment method has been added, it is necessary to run this request in order to obtain the updated list of available payment method IDs.
Request Body
{"checkIn"=>"yyyy-MM-dd", "checkOut"=>"yyyy-MM-dd", "bookingType"=>1, "equipmentTypeId"=>1, "paymentMethodId"=>1, "space"=>1, "isPinCodeUsed"=>true, "yardId"=>1}
RESPONSES
status: OK
{"reservation":{"id":488,"status":"Processing"}}