Subscriptions from FastStore to VTEX IO Checkout


I’m trying to send the subscription frequency chosen by the user by selecting a subscription in PDP. I’ve extended the product() query to render available subscriptions plans in PDP, but I don’t understand the attachment object structure to send with addToCart. To be more precise, I would to replicate the subscription button behaviour that we experiment using VTEX IO ProductDetails page.

Could you please help me?

Thank you