Add hidden value to product with addProducts function

Hello. I want to add a product into the cart via code. For that I want to hand over a hidden value to individualize each product. As I know, with the addProducts function I can only hand over the productid, quantity and options (choices and customTextFields). Is there any possibility to also hand over a value, that is later not shown in the cart?

Maybe you want first to show what you already have done so far?
Where is your code?