apiV2CardPartialUpdateWithHttpInfo method
Check the properties in response, excepts the id property
Note: This method returns the HTTP Response.
Parameters:
-
int id (required):
-
Map<String, Object> requestBody:
Implementation
Future<Response> apiV2CardPartialUpdateWithHttpInfo(int id, { Map<String, Object>? requestBody, }) async {
// ignore: prefer_const_declarations
final path = r'/api/v2/card/{id}/'
.replaceAll('{id}', id.toString());
// ignore: prefer_final_locals
Object? postBody = requestBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
return apiClient.invokeAPI(
path,
'PATCH',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}