Hi, I added a JS to make a bar on top of the store, using admin app. As a result, I got my bar with text inside of it. However, the goal is not merely have text but to make a free shipping application. Like the attached image.
To do that, I need to collect information from the checkout, I believe I must have one end point from the frontstore to access the check-out, so I need to make a request to graphql for inserting data in my Script. The problem I am facing is that I have do an authentication on the server to obtain the data on the checkout, regardless this information is public (I believe so), as far as my understanding the customer can access the information of the total price that is in the cart.
Is there any possibility to explain me how I can do this?