previewBooking function
Future<ApiResponse<Object?> >
previewBooking(
- ExsitedClient client,
- Object payload, {
- bool? raiseOnError,
- String? responseFormat,
POST /api/{api_version}/booking/preview
Price a booking without creating it, the createBooking body; 201, with
no cart data in the answer, under booking.
No typed view. Read response.map.
Implementation
Future<ApiResponse<Object?>> previewBooking(
ExsitedClient client,
Object payload, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendPostRequest(BookingsUrls.bookingPreview,
jsonBody: payload,
raiseOnError: raiseOnError,
responseFormat: responseFormat);