The CRM’s id for the customer: the
id that contacts.upsert returns, or what
contacts.resolve finds from your own id.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Link a customer to their account in another system.
const [result, error] = await crm.externalAccounts.add({
partyId: contact.id,
type: "stripe",
value: "cus_123",
});
if (result?.merged) {
// a contact the Stripe sync created earlier was folded into this one
}
id that contacts.upsert returns, or what
contacts.resolve finds from your own id.