Create booking
documentedCreate a new booking.
POST /v1/bookingsBookingsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.rezdy.com/v1/bookings" \
-X POST \
-H "Content-Type: application/json; charset=UTF-8" \
-H "Accept: application/json" \
-H "apiKey: {{REZDY_API_KEY}}" \
-d '{"orderNumber": "{{$orderNumber}}", "status": "{{$status}}", "customer": {"firstName": "{{$customerFirstName}}", "lastName": "{{$customerLastName}}", "email": "{{$customerEmail}}", "phone": "{{$customerPhone}}"}, "bookingItems": [{"productCode": "{{$productCode}}", "startTimeLocal": "{{$startTimeLocal}}", "quantity": {{$quantity}}}], "payments": [{"amount": {{$amount}}, "type": "{{$paymentType}}", "currency": "{{$currency}}"}], "source": "API" }'