/** * @example * { * id: "lead_xxxxxxxxxxxxx" * } */ export interface UpdateLeadsRequest { /** The unique identifier of the lead to update, starting with 'lead_'. */ id: string; /** A JSON object of custom metadata to set on the lead, replacing any existing metadata. */ metadata?: Record | null; /** The updated referral URL for the lead, such as 'https://example.com/landing'. */ referrer?: string | null; }