:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(customer-analytics): add external identifiers to account properties schema (#59245)
Arthur Moreira de Deusa8728475ca6f
diff --git a/products/customer_analytics/backend/api/serializers.py b/products/customer_analytics/backend/api/serializers.pyindex bd817cb92395..f85bf8a88ab7 100644--- a/products/customer_analytics/backend/api/serializers.py+++ b/products/customer_analytics/backend/api/serializers.py@@ -24,6 +24,11 @@ _ACCOUNT_PROPERTIES_SCHEMA = {"csm": _ACCOUNT_ASSIGNMENT_SCHEMA,"account_executive": _ACCOUNT_ASSIGNMENT_SCHEMA,"account_owner": _ACCOUNT_ASSIGNMENT_SCHEMA,+ "stripe_customer_id": {"type": "string", "nullable": True},+ "hubspot_deal_id": {"type": "string", "nullable": True},+ "billing_id": {"type": "string", "nullable": True},+ "sfdc_id": {"type": "string", "nullable": True},+ "zendesk_id": {"type": "string", "nullable": True},},}@@ -131,8 +136,9 @@ class AccountSerializer(serializers.ModelSerializer):required=False,allow_null=True,help_text=(- "Typed account properties: assignment fields (csm, account_executive, account_owner). "- "Defaults to an empty object. Unknown keys are rejected."+ "Typed account properties: assignment fields (csm, account_executive, account_owner) "+ "and external system identifiers (stripe_customer_id, hubspot_deal_id, billing_id, "+ "sfdc_id, zendesk_id). Defaults to an empty object. Unknown keys are rejected."),)diff --git a/products/customer_analytics/backend/api/test_views.py b/products/customer_analytics/backend/api/test_views.pyindex 50f4ebed3e23..e1a5c4e35a5b 100644--- a/products/customer_analytics/backend/api/test_views.py+++ b/products/customer_analytics/backend/api/test_views.py@@ -487,6 +487,56 @@ class TestAccountViewSet(APIBaseTest):# nosemgrep: idor-lookup-without-team (test assertion)self.assertFalse(Account.objects.unscoped().filter(id=account_id).exists())+ _EXTERNAL_IDENTIFIER_PROPERTIES = {+ "stripe_customer_id": "cus_123",+ "hubspot_deal_id": "deal_456",+ "billing_id": "bill_789",+ "sfdc_id": "001A000000DUMMY",+ "zendesk_id": "zd_42",+ }++ def _assert_external_identifiers(self, properties_payload):+ for key, value in self._EXTERNAL_IDENTIFIER_PROPERTIES.items():+ self.assertEqual(properties_payload[key], value)++ def test_create_with_external_identifier_properties(self):+ response = self.client.post(+ self.endpoint_base,+ {"name": "Acme", "properties": self._EXTERNAL_IDENTIFIER_PROPERTIES},+ format="json",+ )++ self.assertEqual(status.HTTP_201_CREATED, response.status_code, response.json())+ self._assert_external_identifiers(response.json()["properties"])++ def test_update_with_external_identifier_properties(self):+ account = self._create_account()++ response = self.client.patch(+ f"{self.endpoint_base}{account.id}/",+ {"properties": self._EXTERNAL_IDENTIFIER_PROPERTIES},+ format="json",+ )++ self.assertEqual(status.HTTP_200_OK, response.status_code, response.json())+ self._assert_external_identifiers(response.json()["properties"])++ def test_retrieve_returns_external_identifier_properties(self):+ account = self._create_account(properties=self._EXTERNAL_IDENTIFIER_PROPERTIES)++ response = self.client.get(f"{self.endpoint_base}{account.id}/")++ self.assertEqual(status.HTTP_200_OK, response.status_code)+ self._assert_external_identifiers(response.json()["properties"])++ def test_list_returns_external_identifier_properties(self):+ self._create_account(properties=self._EXTERNAL_IDENTIFIER_PROPERTIES)++ response = self.client.get(self.endpoint_base)++ self.assertEqual(status.HTTP_200_OK, response.status_code)+ self._assert_external_identifiers(response.json()["results"][0]["properties"])+@parameterized.expand([(diff --git a/products/customer_analytics/backend/models/account.py b/products/customer_analytics/backend/models/account.pyindex d758cff42e24..7f8e9d7c8ad0 100644--- a/products/customer_analytics/backend/models/account.py+++ b/products/customer_analytics/backend/models/account.py@@ -22,10 +22,18 @@ class AccountAssignment(BaseModel):class AccountProperties(BaseModel):model_config = ConfigDict(extra="forbid")+ # Key rolescsm: AccountAssignment | None = Noneaccount_executive: AccountAssignment | None = Noneaccount_owner: AccountAssignment | None = None+ # External connections+ stripe_customer_id: str | None = None+ hubspot_deal_id: str | None = None+ billing_id: str | None = None+ sfdc_id: str | None = None+ zendesk_id: str | None = None+class AccountManager(TeamScopedManager["Account"]):def create(diff --git a/products/customer_analytics/frontend/generated/api.schemas.ts b/products/customer_analytics/frontend/generated/api.schemas.tsindex 954edfbcf137..be1fecfae5bb 100644--- a/products/customer_analytics/frontend/generated/api.schemas.ts+++ b/products/customer_analytics/frontend/generated/api.schemas.ts@@ -8,7 +8,7 @@* OpenAPI spec version: 1.0.0*//**- * Typed account properties: assignment fields (csm, account_executive, account_owner). Defaults to an empty object. Unknown keys are rejected.+ * Typed account properties: assignment fields (csm, account_executive, account_owner) and external system identifiers (stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id). Defaults to an empty object. Unknown keys are rejected.* @nullable*/export type AccountApiProperties = {@@ -27,6 +27,16 @@ export type AccountApiProperties = {id: numberemail: string} | null+ /** @nullable */+ stripe_customer_id?: string | null+ /** @nullable */+ hubspot_deal_id?: string | null+ /** @nullable */+ billing_id?: string | null+ /** @nullable */+ sfdc_id?: string | null+ /** @nullable */+ zendesk_id?: string | null} | nullexport interface AccountApi {@@ -43,7 +53,7 @@ export interface AccountApi {*/external_id?: string | null/**- * Typed account properties: assignment fields (csm, account_executive, account_owner). Defaults to an empty object. Unknown keys are rejected.+ * Typed account properties: assignment fields (csm, account_executive, account_owner) and external system identifiers (stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id). Defaults to an empty object. Unknown keys are rejected.* @nullable*/properties?: AccountApiProperties@@ -64,7 +74,7 @@ export interface PaginatedAccountListApi {}/**- * Typed account properties: assignment fields (csm, account_executive, account_owner). Defaults to an empty object. Unknown keys are rejected.+ * Typed account properties: assignment fields (csm, account_executive, account_owner) and external system identifiers (stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id). Defaults to an empty object. Unknown keys are rejected.* @nullable*/export type PatchedAccountApiProperties = {@@ -83,6 +93,16 @@ export type PatchedAccountApiProperties = {id: numberemail: string} | null+ /** @nullable */+ stripe_customer_id?: string | null+ /** @nullable */+ hubspot_deal_id?: string | null+ /** @nullable */+ billing_id?: string | null+ /** @nullable */+ sfdc_id?: string | null+ /** @nullable */+ zendesk_id?: string | null} | nullexport interface PatchedAccountApi {@@ -99,7 +119,7 @@ export interface PatchedAccountApi {*/external_id?: string | null/**- * Typed account properties: assignment fields (csm, account_executive, account_owner). Defaults to an empty object. Unknown keys are rejected.+ * Typed account properties: assignment fields (csm, account_executive, account_owner) and external system identifiers (stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id). Defaults to an empty object. Unknown keys are rejected.* @nullable*/properties?: PatchedAccountApiPropertiesdiff --git a/products/customer_analytics/frontend/generated/api.zod.ts b/products/customer_analytics/frontend/generated/api.zod.tsindex c13a4f3fcc1c..febeca2432ed 100644--- a/products/customer_analytics/frontend/generated/api.zod.ts+++ b/products/customer_analytics/frontend/generated/api.zod.ts@@ -40,10 +40,15 @@ export const AccountsCreateBody = /* @__PURE__ */ zod.object({email: zod.string(),}).nullish(),+ stripe_customer_id: zod.string().nullish(),+ hubspot_deal_id: zod.string().nullish(),+ billing_id: zod.string().nullish(),+ sfdc_id: zod.string().nullish(),+ zendesk_id: zod.string().nullish(),}).nullish().describe(- 'Typed account properties: assignment fields (csm, account_executive, account_owner). Defaults to an empty object. Unknown keys are rejected.'+ 'Typed account properties: assignment fields (csm, account_executive, account_owner) and external system identifiers (stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id). Defaults to an empty object. Unknown keys are rejected.'),})@@ -78,10 +83,15 @@ export const AccountsUpdateBody = /* @__PURE__ */ zod.object({email: zod.string(),}).nullish(),+ stripe_customer_id: zod.string().nullish(),+ hubspot_deal_id: zod.string().nullish(),+ billing_id: zod.string().nullish(),+ sfdc_id: zod.string().nullish(),+ zendesk_id: zod.string().nullish(),}).nullish().describe(- 'Typed account properties: assignment fields (csm, account_executive, account_owner). Defaults to an empty object. Unknown keys are rejected.'+ 'Typed account properties: assignment fields (csm, account_executive, account_owner) and external system identifiers (stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id). Defaults to an empty object. Unknown keys are rejected.'),})@@ -116,10 +126,15 @@ export const AccountsPartialUpdateBody = /* @__PURE__ */ zod.object({email: zod.string(),}).nullish(),+ stripe_customer_id: zod.string().nullish(),+ hubspot_deal_id: zod.string().nullish(),+ billing_id: zod.string().nullish(),+ sfdc_id: zod.string().nullish(),+ zendesk_id: zod.string().nullish(),}).nullish().describe(- 'Typed account properties: assignment fields (csm, account_executive, account_owner). Defaults to an empty object. Unknown keys are rejected.'+ 'Typed account properties: assignment fields (csm, account_executive, account_owner) and external system identifiers (stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id). Defaults to an empty object. Unknown keys are rejected.'),})diff --git a/products/customer_analytics/mcp/tools.yaml b/products/customer_analytics/mcp/tools.yamlindex 9fb54005c846..e4aef18f31a7 100644--- a/products/customer_analytics/mcp/tools.yaml+++ b/products/customer_analytics/mcp/tools.yaml@@ -22,12 +22,15 @@ tools:description: >Create a new Customer Analytics account. An account is a logical container for assigning ownership acrossthe customer-success org. Provide `name` (required), optional `external_id` (CRM ID or similar), and- optional `properties` to set role assignments (`csm`, `account_executive`, `account_owner`).+ optional `properties` to set role assignments (`csm`, `account_executive`, `account_owner`) and external+ system identifiers (`stripe_customer_id`, `hubspot_deal_id`, `billing_id`, `sfdc_id`, `zendesk_id`).param_overrides:properties:description: >Typed account properties. `csm`, `account_executive`, `account_owner` are role assignments — each- takes `{id, email}` of an existing user. All three are optional.+ takes `{id, email}` of an existing user. `stripe_customer_id`, `hubspot_deal_id`, `billing_id`,+ `sfdc_id`, `zendesk_id` are optional string identifiers for the account in external systems. All+ fields are optional.feature_flag: customer-analytics-cspaccounts-destroy:operation: accounts_destroy@@ -55,8 +58,9 @@ tools:title: List accountsdescription: >List Customer Analytics accounts in the project, ordered by most recently created. Each result includes the- account `id`, `name`, `external_id`, typed `properties` (csm, account_executive, account_owner), and- creation/update metadata. Use `accounts-retrieve` for a single account by id.+ account `id`, `name`, `external_id`, typed `properties` (assignment fields csm, account_executive,+ account_owner and external identifiers stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id,+ zendesk_id), and creation/update metadata. Use `accounts-retrieve` for a single account by id.feature_flag: customer-analytics-cspaccounts-partial-update:operation: accounts_partial_update@@ -75,8 +79,9 @@ tools:properties:description: >Typed account properties. The server replaces the `properties` object as a whole, so include any- existing values you want to preserve. Supported keys: `csm`, `account_executive`, `account_owner`,- each taking `{id, email}` of an existing user.+ existing values you want to preserve. Supported keys: `csm`, `account_executive`, `account_owner`+ (each `{id, email}` of an existing user), plus `stripe_customer_id`, `hubspot_deal_id`,+ `billing_id`, `sfdc_id`, `zendesk_id` (optional string identifiers for external systems).feature_flag: customer-analytics-cspaccounts-retrieve:operation: accounts_retrieve@@ -90,7 +95,8 @@ tools:title: Get accountdescription: >Fetch a single Customer Analytics account by id. Returns the full account including typed `properties` (csm,- account_executive, account_owner assignments).+ account_executive, account_owner assignments plus stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id,+ zendesk_id external identifiers).feature_flag: customer-analytics-cspaccounts-update:operation: accounts_updatediff --git a/services/mcp/schema/generated-tool-definitions.json b/services/mcp/schema/generated-tool-definitions.jsonindex 24581d5d3d24..0f81266e7a99 100644--- a/services/mcp/schema/generated-tool-definitions.json+++ b/services/mcp/schema/generated-tool-definitions.json@@ -1,6 +1,6 @@{"accounts-create": {- "description": "Create a new Customer Analytics account. An account is a logical container for assigning ownership across the customer-success org. Provide `name` (required), optional `external_id` (CRM ID or similar), and optional `properties` to set role assignments (`csm`, `account_executive`, `account_owner`).",+ "description": "Create a new Customer Analytics account. An account is a logical container for assigning ownership across the customer-success org. Provide `name` (required), optional `external_id` (CRM ID or similar), and optional `properties` to set role assignments (`csm`, `account_executive`, `account_owner`) and external system identifiers (`stripe_customer_id`, `hubspot_deal_id`, `billing_id`, `sfdc_id`, `zendesk_id`).","category": "Customer analytics","feature": "customer_analytics","summary": "Create account",@@ -32,7 +32,7 @@"feature_flag": "customer-analytics-csp"},"accounts-list": {- "description": "List Customer Analytics accounts in the project, ordered by most recently created. Each result includes the account `id`, `name`, `external_id`, typed `properties` (csm, account_executive, account_owner), and creation/update metadata. Use `accounts-retrieve` for a single account by id.",+ "description": "List Customer Analytics accounts in the project, ordered by most recently created. Each result includes the account `id`, `name`, `external_id`, typed `properties` (assignment fields csm, account_executive, account_owner and external identifiers stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id), and creation/update metadata. Use `accounts-retrieve` for a single account by id.","category": "Customer analytics","feature": "customer_analytics","summary": "List accounts",@@ -64,7 +64,7 @@"feature_flag": "customer-analytics-csp"},"accounts-retrieve": {- "description": "Fetch a single Customer Analytics account by id. Returns the full account including typed `properties` (csm, account_executive, account_owner assignments).",+ "description": "Fetch a single Customer Analytics account by id. Returns the full account including typed `properties` (csm, account_executive, account_owner assignments plus stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id external identifiers).","category": "Customer analytics","feature": "customer_analytics","summary": "Get account",diff --git a/services/mcp/schema/tool-definitions-all.json b/services/mcp/schema/tool-definitions-all.jsonindex e923b2bf5969..c2eaf6c67e43 100644--- a/services/mcp/schema/tool-definitions-all.json+++ b/services/mcp/schema/tool-definitions-all.json@@ -1,6 +1,6 @@{"accounts-create": {- "description": "Create a new Customer Analytics account. An account is a logical container for assigning ownership across the customer-success org. Provide `name` (required), optional `external_id` (CRM ID or similar), and optional `properties` to set role assignments (`csm`, `account_executive`, `account_owner`).",+ "description": "Create a new Customer Analytics account. An account is a logical container for assigning ownership across the customer-success org. Provide `name` (required), optional `external_id` (CRM ID or similar), and optional `properties` to set role assignments (`csm`, `account_executive`, `account_owner`) and external system identifiers (`stripe_customer_id`, `hubspot_deal_id`, `billing_id`, `sfdc_id`, `zendesk_id`).","category": "Customer analytics","feature": "customer_analytics","summary": "Create account",@@ -32,7 +32,7 @@"feature_flag": "customer-analytics-csp"},"accounts-list": {- "description": "List Customer Analytics accounts in the project, ordered by most recently created. Each result includes the account `id`, `name`, `external_id`, typed `properties` (csm, account_executive, account_owner), and creation/update metadata. Use `accounts-retrieve` for a single account by id.",+ "description": "List Customer Analytics accounts in the project, ordered by most recently created. Each result includes the account `id`, `name`, `external_id`, typed `properties` (assignment fields csm, account_executive, account_owner and external identifiers stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id), and creation/update metadata. Use `accounts-retrieve` for a single account by id.","category": "Customer analytics","feature": "customer_analytics","summary": "List accounts",@@ -64,7 +64,7 @@"feature_flag": "customer-analytics-csp"},"accounts-retrieve": {- "description": "Fetch a single Customer Analytics account by id. Returns the full account including typed `properties` (csm, account_executive, account_owner assignments).",+ "description": "Fetch a single Customer Analytics account by id. Returns the full account including typed `properties` (csm, account_executive, account_owner assignments plus stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id external identifiers).","category": "Customer analytics","feature": "customer_analytics","summary": "Get account",diff --git a/services/mcp/src/api/generated.ts b/services/mcp/src/api/generated.tsindex a73f1722d890..010217dbceea 100644--- a/services/mcp/src/api/generated.ts+++ b/services/mcp/src/api/generated.ts@@ -58,7 +58,7 @@ export namespace Schemas {} as const;/**- * Typed account properties: assignment fields (csm, account_executive, account_owner). Defaults to an empty object. Unknown keys are rejected.+ * Typed account properties: assignment fields (csm, account_executive, account_owner) and external system identifiers (stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id). Defaults to an empty object. Unknown keys are rejected.* @nullable*/export type AccountProperties = {@@ -77,6 +77,16 @@ export namespace Schemas {id: number;email: string;} | null;+ /** @nullable */+ stripe_customer_id?: string | null;+ /** @nullable */+ hubspot_deal_id?: string | null;+ /** @nullable */+ billing_id?: string | null;+ /** @nullable */+ sfdc_id?: string | null;+ /** @nullable */+ zendesk_id?: string | null;} | null;export interface Account {@@ -93,7 +103,7 @@ export namespace Schemas {*/external_id?: string | null;/**- * Typed account properties: assignment fields (csm, account_executive, account_owner). Defaults to an empty object. Unknown keys are rejected.+ * Typed account properties: assignment fields (csm, account_executive, account_owner) and external system identifiers (stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id). Defaults to an empty object. Unknown keys are rejected.* @nullable*/properties?: AccountProperties;@@ -25374,7 +25384,7 @@ export namespace Schemas {}/**- * Typed account properties: assignment fields (csm, account_executive, account_owner). Defaults to an empty object. Unknown keys are rejected.+ * Typed account properties: assignment fields (csm, account_executive, account_owner) and external system identifiers (stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id). Defaults to an empty object. Unknown keys are rejected.* @nullable*/export type PatchedAccountProperties = {@@ -25393,6 +25403,16 @@ export namespace Schemas {id: number;email: string;} | null;+ /** @nullable */+ stripe_customer_id?: string | null;+ /** @nullable */+ hubspot_deal_id?: string | null;+ /** @nullable */+ billing_id?: string | null;+ /** @nullable */+ sfdc_id?: string | null;+ /** @nullable */+ zendesk_id?: string | null;} | null;export interface PatchedAccount {@@ -25409,7 +25429,7 @@ export namespace Schemas {*/external_id?: string | null;/**- * Typed account properties: assignment fields (csm, account_executive, account_owner). Defaults to an empty object. Unknown keys are rejected.+ * Typed account properties: assignment fields (csm, account_executive, account_owner) and external system identifiers (stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id). Defaults to an empty object. Unknown keys are rejected.* @nullable*/properties?: PatchedAccountProperties;diff --git a/services/mcp/src/generated/customer_analytics/api.ts b/services/mcp/src/generated/customer_analytics/api.tsindex 8a11118bfbdd..22a30c080174 100644--- a/services/mcp/src/generated/customer_analytics/api.ts+++ b/services/mcp/src/generated/customer_analytics/api.ts@@ -60,10 +60,15 @@ export const AccountsCreateBody = /* @__PURE__ */ zod.object({email: zod.string(),}).nullish(),+ stripe_customer_id: zod.string().nullish(),+ hubspot_deal_id: zod.string().nullish(),+ billing_id: zod.string().nullish(),+ sfdc_id: zod.string().nullish(),+ zendesk_id: zod.string().nullish(),}).nullish().describe(- 'Typed account properties: assignment fields (csm, account_executive, account_owner). Defaults to an empty object. Unknown keys are rejected.'+ 'Typed account properties: assignment fields (csm, account_executive, account_owner) and external system identifiers (stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id). Defaults to an empty object. Unknown keys are rejected.'),})@@ -116,10 +121,15 @@ export const AccountsPartialUpdateBody = /* @__PURE__ */ zod.object({email: zod.string(),}).nullish(),+ stripe_customer_id: zod.string().nullish(),+ hubspot_deal_id: zod.string().nullish(),+ billing_id: zod.string().nullish(),+ sfdc_id: zod.string().nullish(),+ zendesk_id: zod.string().nullish(),}).nullish().describe(- 'Typed account properties: assignment fields (csm, account_executive, account_owner). Defaults to an empty object. Unknown keys are rejected.'+ 'Typed account properties: assignment fields (csm, account_executive, account_owner) and external system identifiers (stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id). Defaults to an empty object. Unknown keys are rejected.'),})diff --git a/services/mcp/src/tools/generated/customer_analytics.ts b/services/mcp/src/tools/generated/customer_analytics.tsindex 14d69ca24508..dd2909bf7f1e 100644--- a/services/mcp/src/tools/generated/customer_analytics.ts+++ b/services/mcp/src/tools/generated/customer_analytics.ts@@ -24,7 +24,7 @@ import type { Context, ToolBase, ZodObjectAny } from '@/tools/types'const AccountsCreateSchema = AccountsCreateBody.extend({properties: AccountsCreateBody.shape['properties'].describe(- 'Typed account properties. `csm`, `account_executive`, `account_owner` are role assignments — each takes `{id, email}` of an existing user. All three are optional.'+ 'Typed account properties. `csm`, `account_executive`, `account_owner` are role assignments — each takes `{id, email}` of an existing user. `stripe_customer_id`, `hubspot_deal_id`, `billing_id`, `sfdc_id`, `zendesk_id` are optional string identifiers for the account in external systems. All fields are optional.'),})@@ -90,7 +90,7 @@ const AccountsPartialUpdateSchema = AccountsPartialUpdateParams.omit({ project_i.extend(AccountsPartialUpdateBody.shape).extend({properties: AccountsPartialUpdateBody.shape['properties'].describe(- 'Typed account properties. The server replaces the `properties` object as a whole, so include any existing values you want to preserve. Supported keys: `csm`, `account_executive`, `account_owner`, each taking `{id, email}` of an existing user.'+ 'Typed account properties. The server replaces the `properties` object as a whole, so include any existing values you want to preserve. Supported keys: `csm`, `account_executive`, `account_owner` (each `{id, email}` of an existing user), plus `stripe_customer_id`, `hubspot_deal_id`, `billing_id`, `sfdc_id`, `zendesk_id` (optional string identifiers for external systems).'),})