Shopify functions with storefront API

DharmeshRughani
Shopify Partner
1 0 0

Hello there,

 

I have used one of the third party app to apply the discount using shopify functions , I can able to access that discount in my webstore

 

But my question is how can i access that applied discount data in storefront API? is it available on storefront, I have tried with the order discount and product discount, but on storefront queries I can't able to get the data.

 

Links for the reference

 

Trying to get the response for below shopify function in storefront

https://shopify.dev/docs/api/functions/reference/product-discounts

 

Replies 0 (0)