To add or update customer fields on JSON object, please do the following:
Indigitall.assignOrUpdateValueToCustomerFields(withFields: [AnyHashable : Any]) { INCustomer in
//do something
} onError: { INError in
//do something
}
Otherwise, if you want to eliminate a field, you have to do this with an arrayList of the fieldNames:
Indigitall.deleteValuesFromCustomerFields(withFieldNames: [String]) { INCustomer in
//do something
} onError: { INError in
//do something
}