customerBillingAddressUpdateWithHttpInfo method
Manage customer billing address. Required prior to subscribing to Yago services.
Note: This method returns the HTTP Response.
Parameters:
- Address address (required):
Implementation
Future<Response> customerBillingAddressUpdateWithHttpInfo(
Address address,
) async {
// ignore: prefer_const_declarations
final path = r'/api/customer/billing_address/';
// ignore: prefer_final_locals
Object? postBody = address;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'PUT',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}