apiV3CustomerRegistersmsCreateWithHttpInfo method

Future<Response> apiV3CustomerRegistersmsCreateWithHttpInfo(
  1. CreateSMSCustomerRequestDTO createSMSCustomerRequestDTO
)

Performs an HTTP 'POST /api/v3/customer/registersms/' operation and returns the Response. Parameters:

Implementation

Future<Response> apiV3CustomerRegistersmsCreateWithHttpInfo(CreateSMSCustomerRequestDTO createSMSCustomerRequestDTO,) async {
  // ignore: prefer_const_declarations
  final path = r'/api/v3/customer/registersms/';

  // ignore: prefer_final_locals
  Object? postBody = createSMSCustomerRequestDTO;

  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,
  );
}