apiV3CustomerRegisterCreateWithHttpInfo method
Future<Response>
apiV3CustomerRegisterCreateWithHttpInfo(
- OnboardingFlowCreateCustomer onboardingFlowCreateCustomer
View used on the onboarding flow this will register user on the flow and will not send a verification email
Note: This method returns the HTTP Response.
Parameters:
- OnboardingFlowCreateCustomer onboardingFlowCreateCustomer (required):
Implementation
Future<Response> apiV3CustomerRegisterCreateWithHttpInfo(OnboardingFlowCreateCustomer onboardingFlowCreateCustomer,) async {
// ignore: prefer_const_declarations
final path = r'/api/v3/customer/register/';
// ignore: prefer_final_locals
Object? postBody = onboardingFlowCreateCustomer;
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,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}