LocationUpdate event fires whenever an existing sub-account’s details are modified in the HoopAI platform. This event is available exclusively to Agency Level Apps. Use it to keep external records in sync when a sub-account’s name, email, or billing plan changes.
Payload
| Field | Type | Description |
|---|---|---|
type | string | Always "LocationUpdate" |
id | string | Unique identifier for the updated sub-account |
name | string | Display name of the sub-account |
email | string | Primary email address associated with the sub-account |
companyId | string | Agency ID that owns this sub-account |
stripeProductId | string | Stripe product ID linked to the sub-account’s billing plan, if applicable |
Example payload
Related
- Location Create — fires when a new sub-account is provisioned
- Sub-Accounts API — manage and retrieve sub-account details
.png?fit=max&auto=format&n=EQK5eX9kTD8NzWwA&q=85&s=878008bf159fcc4964d0c0d508b6e400)