Front End API Call to Rest

DeonSmit
Shopify Partner
13 1 3

Hi. . I have a Restlet exposed on our ERP system to give me the SOH of a product per my 30+ Physical Stores. I want to add a button to the website that calls the API for that Item an read the Data from the response. Any article's on how to call an API on Button press. Don't want to always do the API call when a person opens a product page to view an item. Also how to hide the Private key to authenticate on the Restlet as

well.

Replies 0 (0)