Fund Metadata Updated

When the fund's metadata is changed through the Update fund metadata API (POST /api/v1/fundsub/{fundId}/metadata)

Event name fundsub.fund.metadata.updated

Payload

{
  "event": string, // "fundsub.fund.metadata.updated"
  "createdAt": string, // example: "2026-11-17T08:15:14.843788368Z"
  "fundId": string, // example: "txn6qp98v5n5gg96.fsbj4vj"
  "fundName": string, // example: "Growth Fund III"
  "oldMetadata": object, // example: {"crmFundCode": "CF-2026-01", "region": "US"}
  "newMetadata": object // example: {"crmFundCode": "CF-2026-02"}
}

Payload Fields

FieldTypeDescription
eventstringThe event identifier
createdAtstringTimestamp when the event was sent (ISO 8601 UTC format)
fundIdstringThe unique identifier of the fund
fundNamestringThe current name of the fund
oldMetadataobjectAll metadata key-value pairs before the change. {} if the fund had no metadata.
newMetadataobjectAll metadata key-value pairs after the change

Both objects hold the full metadata, not only the keys in the request. A key set to an empty string in the request is removed, so it is absent from newMetadata. If the request changes nothing, no event is sent.

Example: one key changed, one key removed

Request body {"metadata": {"crmFundCode": "CF-2026-02", "region": ""}}:

{
  "event": "fundsub.fund.metadata.updated",
  "createdAt": "2026-11-17T08:15:14.843788368Z",
  "fundId": "txn6qp98v5n5gg96.fsbj4vj",
  "fundName": "Growth Fund III",
  "oldMetadata": {
    "crmFundCode": "CF-2026-01",
    "region": "US"
  },
  "newMetadata": {
    "crmFundCode": "CF-2026-02"
  }
}

Did this page help you?