Skip to main content
PUT
/
api
/
end_users
/
{end_user_heron_id}
/
entities
/
values
/
bulk
Bulk save entity attribute values by entity name and attribute name
curl --request PUT \
  --url https://app.herondata.io/api/end_users/{end_user_heron_id}/entities/values/bulk \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "values": [
    {
      "attribute_name": "<string>",
      "entity_name": "<string>",
      "value": "<unknown>"
    }
  ]
}
'
[
  {
    "attribute_name": "<string>",
    "entity_name": "<string>",
    "success": true,
    "error": null
  }
]

Authorizations

x-api-key
string
header
required

Path Parameters

end_user_heron_id
string
required

The Heron ID of the end user

Body

application/json
values
object[]
required

List of entity attribute values to save

Response

Results for each item in the bulk request

attribute_name
string
required

Name of the attribute

entity_name
string
required

Name of the entity

success
boolean
required

Whether the value was saved successfully

error
string | null

Error message if the save failed