Client Management Service events

Overview

Webhook events related to the creation, update and deletion of legal entity and assigning user to legal entity.

Available events

Event typeEvent schema
client-management.legalentity-created
Copy
Copied
{
  "legalEntityId": "String",
  "name": "String",
  "type": "String",
  "parentId": "String",
  "legalInfo": "Object",
  "accountLimit": "Object",
  "CustomerGroupId": "String",
  "customerGroups": ["Object"],
  "addresses": ["Object"],
  "documents": ["String"],
  "approvalGroup": ["Object"],
  "mixins": "Map",
  "metadata": "Object",
  "tenant": "String"
}
client-management.legalentity-updated
Copy
Copied
{
  "legalEntityId": "String",
  "name": "String",
  "type": "String",
  "parentId": "String",
  "legalInfo": "Object",
  "accountLimit": "Object",
  "CustomerGroupId": "String",
  "customerGroups": ["Object"],
  "addresses": ["Object"],
  "documents": ["String"],
  "approvalGroup": ["Object"],
  "mixins": "Map",
  "metadata": "Object",
  "tenant": "String"
}
client-management.legalentity-deleted
Copy
Copied
{
  "tenant": "String",
  "legalEntityId": "String",
  "legalEntityParentId": "String"
}
client-management.user-assigned-to-legalentity
Copy
Copied
{
  "tenant": "String",
  "userId": "String",
  "email": "String",
  "legalEntityId": "String",
  "type": "String",
  "primary": "Boolean",
  "assignmentId": "String"
}