updateCustomer method
Implementation
Future<WooCustomer> updateCustomer({required int id, Map? data}) async {
_printToLog('Updating customer With customerId : ' + id.toString());
_setApiResourceUrl(
path: 'customers/' + id.toString(),
);
final response = await put(queryUri.toString(), data);
return WooCustomer.fromJson(response);
}