The CRM’s id for the customer, from
contacts.upsert or
contacts.resolve.Returns
The contact, withunsubscribed as now set.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Record that a customer opted out of messages, or back in.
const [contact, error] = await crm.contacts.setConsent({ partyId: contact.id, unsubscribed: true });
contacts.upsert or
contacts.resolve.unsubscribed as now set.