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