How to pass information via addToCart()

Hi,
I implemented some page which allows customers to create some custom product:
The customer selects 5pcs OR 10pcs masks package and then select the masks he wants.
When he pressed the ‘add to cart’ button, the selected package is added to the cart.
The masks that the user selected is stored as an array of objects (name and size).
I want to pass that information so the store will know which masks to send.

This is my selected masks array for example:
[{name: “gravity”, size: “small” }, {name: “sea”, size: “medium” } , …]

and my addToCart function:

export async function addToCartButton_click(event, $w) {
 let prodID;
 selectedPackage === 5 ? prodID = "48e6b1fc-9d30-d2252e779e" : prodID = "391dd0a0-9d80eba4c1a1ed";
 let res = await $w('#shoppingCartIcon').addToCart(prodID, 1);
}

I know that I can access ‘options’ from ‘addToCart’ but I didn’t figure out how to do it.

Thanks!