How to authenticate GET /recommendations/products.json?product_id={product-id} from outside access ?

kenphanith
New Member
2 0 0

Recently I want to get access to recommended products using theme Ajax API (https://shopify.dev/docs/themes/ajax-api/reference/product-recommendations).
My store url is https://phanithstore.myshopify.com/ and I know that I can access the recommended product by accessing this following url https://phanithstore.myshopify.com/recommendations/products.json?product_id=xxxxxx via browser.
I was having a hard time trying to figure out how to access it from my application. Could you please help me out about this ?
I appreciate your support.

0 Likes