Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Correct me if I'm wrong but looks like the Rest API returns cached response. Is there a way to retrieve a fresh data(I need an inventory quantity) using the Rest API?
I tried adding headers like:
- Cache-Control: no-cache
- Pragma: no-cache
- If-None-Match: {random_value}
Also I tried to add a timestamp as a query parameter to the request URL.
Any of those didn't help. Any solution (except using GraphQL) would be helpful! Thanks!