updateBookingLine function
PATCH /api/{api_version}/booking/{booking_id}/lines/{line_uuid}
Update a booking line, body order.line; answered with the whole booking
under order.
Implementation
Future<ApiResponse<BookingById>> updateBookingLine(
ExsitedClient client,
Object bookingId,
Object lineUuid,
Object payload, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendPatchRequest(BookingsUrls.bookingLine,
pathParams: {'booking_id': bookingId, 'line_uuid': lineUuid},
jsonBody: payload,
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: BookingById.fromMap);