I have created a Js component in which i am showing a checkbox of Register for Newsletter.It is showing above shipping form that is correct.
What i want that when i will check this checkbox then it should be saved to the customer for subscribed to newsletter.