Customers
customerExternalId is required for leads and sales. It identifies one customer inside one workspace.
Use a durable value from your system:
customerName, customerEmail, and customerAvatar. These fields improve the Customers interface but do not replace the external ID.
Leads
A lead is a meaningful action before or outside revenue, such as a signup, trial, qualified demo, or application.eventId for the logical action. Do not add a timestamp or random value when retrying the same lead.
Sales
A sale is confirmed revenue, such as an order, subscription, or renewal.Money uses minor units
amount is a non-negative integer in the currency’s minor unit.
Use a lowercase three-letter ISO currency code. Biqli returns
amountUsd in USD cents when conversion is available.
Event time
OmitoccurredAt to use the time Biqli receives the event. For delayed processing, send an ISO 8601 timestamp, for example:
Metadata
Metadata is optional JSON for useful business context, such as a plan or campaign name.Idempotency rules
One logical event must keep one identity:- Lead: stable
eventId - Sale: stable
paymentProcessorplusinvoiceId - REST transport: stable
Idempotency-Key
409 idempotency_conflict.
