updateCustomer method

Future<void> updateCustomer(
  1. CustomerModel customer, {
  2. required Object authorization,
})

Parameters:

Implementation

Future<void> updateCustomer(
  CustomerModel customer, {
  required Object authorization,
}) async {
  final response = await _updateCustomerWithHttpInfo(
    customer,
    authorization: authorization,
  );
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}