Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[storefront-api-client] Use "Shopify-Storefront-Buyer-IP" with storefront-client #2057

Open
zircxnium opened this issue Feb 3, 2025 · 0 comments

Comments

@zircxnium
Copy link

zircxnium commented 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 ?

Image

@zircxnium 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant