How to add custom HTTP headers in Mobile Buy SDK

Shopify Partner
12 0 0



I'm developing an app using the Shopify Buy SDK. When I'm testing the API functions like login/password recovery etc, I frequently run into the limit exceeded error. Upon searching for an answer, I came across someone saying that you should consider adding the `Shopify-Storefront-Buyer-IP` header to the requests. I looked through the API docs and SDK code itself. I couldn't find a way to set custom headers to the HTTP requests originating from the SDK.


Is there a way to do this that I'm missing?

Replies 2 (2)

Shopify Staff
1415 231 484

Hey @cenisuru , that's interesting. In this case, the best thing to do will be to open an issue in the github repository that you linked. 


Hope that helps. 


- Kyle G.

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit or the Shopify Web Design and Development Blog

Shopify Partner
12 0 0

Hi Kyle, thanks for the response. I went ahead and opened a ticket over there.