Calling Shopify App deployed on Heroku api from my store pdp

I have deployed my shopify app on heroku and it is working fine independently on shopify but when I try to fetch an api from my store pdp it is returining response with status code 0. Can someone guide me how can I use my heroku deployed app api on my store.