subscriptions.upsert
The CRM’s id for the customer, from
contacts.upsert or
contacts.resolve.id.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
What a customer pays, from a billing system that is not connected.
const [subscription, error] = await crm.subscriptions.upsert({
partyId: contact.id,
externalId: sub.id,
description: "Pro plan",
payingPerMonth: 4900,
currency: "USD",
startedAt: sub.startedAt,
});
contacts.upsert or
contacts.resolve.id.
await crm.subscriptions.delete({ subscriptionId: subscription.id });