apiV2UsersProfileUserProfileUpdateWithHttpInfo method
Allowed parameters 'user_timezone', 'language', 'pay_via_oktopi'
Note: This method returns the HTTP Response.
Parameters:
- Map<String, Object> requestBody:
Implementation
Future<Response> apiV2UsersProfileUserProfileUpdateWithHttpInfo({ Map<String, Object>? requestBody, }) async {
// ignore: prefer_const_declarations
final path = r'/api/v2/users/profile/user_profile/';
// 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,
'PUT',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}