Skip to main content
PATCH
/
v1
/
businesses
/
events
/
enrollments
Update Businesses Enrollments
curl --request PATCH \
  --url https://api.explorium.ai/v1/businesses/events/enrollments \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '{
  "request_context": {},
  "enrollment_key": "<string>",
  "event_types": [
    "ipo_announcement"
  ],
  "enrollment_id": "<string>",
  "business_ids": [
    "<string>"
  ]
}'
{
  "response_context": {
    "correlation_id": "<string>",
    "request_status": "success",
    "time_took_in_seconds": 123
  },
  "enrollment_key": "<string>",
  "enrollment_id": "<string>"
}

Description

Update an existing enrollment.
  • Input: Define parameters including enrollment_key and enrollment_id to update, and updated business_ids, and event_types.
  • Processing: The system will update your your enrollment and update the monitoring for events.
  • Output: A confirmation response containing your enrollment_key and enrollment_id for future reference.
FieldTypeDescription
enrollment_keyStringA unique identifier for this enrollment
enrollment_idStringA unique identifier for this enrollment
business_idsArrayList of Business IDs to monitor for events
event_typesArrayTypes of events to monitor (e.g., ipo_announcement, new_funding_round)
Bash
curl -X PATCH \
  "https://api.explorium.ai/v1/businesses/events/enrollments" \
  -H "API_KEY: your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
  "enrollment_key": "my_b2b_saas_monitor",
  "enrollment_id": "en_7b429a01",
  "business_ids": [
    "8adce3ca1cef0c986b22310e369a0793",
    "665595bbb4e724de6f8bc705a5b84753"
  ],
  "event_types": [
    "ipo_announcement",
    "new_funding_round",
    "new_product"
  ]
}'
JSON
{
  "request_context": {
    "correlation_id": "1234",
    "request_status": "success",
    "time_took_in_seconds": 0.515
  },
  "enrollment_key": "my_b2b_saas_monitor",
  "enrollment_id": "en_7b429a01"
}

Authorizations

api_key
string
header
required

Body

application/json
enrollment_key
string
required
Minimum length: 4
event_types
enum<string>[]
required
Minimum length: 1
enrollment_id
string
required
business_ids
string[]
required
Required array length: 1 - 20 elements
request_context
object

Response

Successful Response

This is base response model for all responses in partner service.

response_context
object
required
enrollment_key
string
required
Minimum length: 4
enrollment_id
string
required
I