You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello there, I'm trying to using storefront-api as s2s and the API says that you need to use the Private Access Token combined with the Buyer IP when doing a request to the storefront API, however after digging into the storefront-client source code I didn't found any implementation of the buyer IP header and the examples showed using the Private Access Token does not use it too.
EDIT: I saw that you can add headers after variables when doing "storefront.request", is this the right way of doing it ?
The text was updated successfully, but these errors were encountered:
zircxnium
changed the title
How to use "Shopify-Storefront-Buyer-IP" in storefront-client ?
[storefront-api-client] Use "Shopify-Storefront-Buyer-IP" with storefront-client
Feb 3, 2025
Hello there, I'm trying to using storefront-api as s2s and the API says that you need to use the Private Access Token combined with the Buyer IP when doing a request to the storefront API, however after digging into the storefront-client source code I didn't found any implementation of the buyer IP header and the examples showed using the Private Access Token does not use it too.
EDIT: I saw that you can add headers after variables when doing "storefront.request", is this the right way of doing it ?
The text was updated successfully, but these errors were encountered: