Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hi
I am trying to display applicable promotions for a product on PDP, is there any way where we can get promotions applicable to a product by passing handle or id of the product using graphql. Currently I am able to get all the discounts present in the store and the products but it returns all the promotions and all products which have promotions. Can I pass the product handle and get promotions on PDP for that specific product without fetching data which is not required ?
Below I am sharing the query which I ran for getting discounts:
Can any one share their response on the above query?