Contacts
contacts.upsert
Create a customer the first time, update them every time after.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Create a customer the first time, update them every time after.
const [contact, error] = await crm.contacts.upsert({
dbId: "user_42",
name: "Ada Lovelace",
kind: "person",
emails: ["ada@example.com"],
phones: ["+14155550123"],
});
id it returns in your own database. Every other call takes it as partyId, so you never have to look the
customer up again.Show properties