EndUsers

Update the business and owner details of an end user

Changed on

Send only the fields that change. Fields you do not send stay as they are.

Each business, owner, address, phone and credit score in GET /end_users/{id}/details has a heron_id. To change one of them, send its heron_id with the fields you want to change. To add a new one, send it without a heron_id. The business must always include its heron_id, if the deal already has a business.

To remove a value you set, send null. For a list, [] removes the whole list. To remove one item from a list, send the full list again without that item, because a list replaces the previous one.

patch/api/end_users/{end_user_heron_id}/details

Request

  • Base URL
    https://app.herondata.io
  • URL
    https://app.herondata.io/api/end_users/{end_user_heron_id}/details
  • Auth
    API key in header x-api-key

Path parameters

end_user_heron_idstring required

The Heron ID of the end user

Request body

Response

OK

custom_entitiesobject required

Your custom fields, grouped by entity name. Each entity has its values and a _sources object with the source of each value.

Changes