---
updatedAt: 2026-09-04T07:13:15.000Z
agentTools:
  projectIndex: https://documentation.indigitall.com/llms.txt
---

# Customer Creation and Update

To add or update customer fields, please do the following, call the method passing a JSONArray containing a JSONObject:

```typescript
Models.INDMHashMap[] customerFields = new()[2];
customerFields[0] = new Models.INDMHashMap("key1", "value1");
customerFields[1] = newModels.INDMHashMap("key2", "value2");

indigitall.AssignOrUpdateValueToCustomerFields(customerFields, (customerModel) =>
 {
     // Do something
 }, (code, message) =>
 {
     // Do something else
 });
```

Otherwise, if you want to eliminate a field, you have to do this with an array of strings containing the name of the fields:

```typescript
indigitall.DeleteValuesFromCustomerFields(new string[] { "field1", "field2" }, (customerModel) =>
{
    // Do something
}, (code, message) =>
{
    // Do something else
});
```