deleteBooking function
Future<ApiResponse<Object?> >
deleteBooking(
- ExsitedClient client,
- Object bookingId, {
- bool? raiseOnError,
- String? responseFormat,
DELETE /api/{api_version}/booking/{booking_id}
Delete a booking; 204. The server deletes any order by this path, whatever
its type.
No typed view. Read response.map.
Implementation
Future<ApiResponse<Object?>> deleteBooking(
ExsitedClient client,
Object bookingId, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendDeleteRequest(BookingsUrls.bookingById,
pathParams: {'booking_id': bookingId},
raiseOnError: raiseOnError,
responseFormat: responseFormat);