How do we call rest api when user clicks on the add to cart button?

I want a requirement when user clicks on addtocart button i need to post the data to external restapi is there a way to do in vtex?

Hey @Narendra , You can do with the help of custom development in there AddToCart App, there you need make the custom changes as whatever your requirement is.

And make sure , if you are developing any custom app then that you need to publish to VTEX by taking there permission, but in your local environment, you can use very easily.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.