Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
As per https://shopify.dev/api/storefront#rate_limits
If you use a server-side library, the IP address of the request will be your server’s address. To ensure your app is throttled correctly, use a delegate access token and pass it in the Shopify-Storefront-Private-Token header from server contexts. Requests using this authentication method can pass the buyer IP into the Shopify-Storefront-Buyer-IP header.
So when I pass Shopify-Storefront-Private-Token and Shopify-Storefront-Buyer-IP I get a 403 Forbidden error. Can anyone help me how to use delegate token to make a call using above method, as we are trying to implement and overcome Storefront API throttling issue as our request happens from one server.
Solved! Go to the solution
This is an accepted solution.
This is an accepted solution.
This is solved please refer to: