Development discussions around Shopify APIs
To continue receiving payouts, you need to secure your account by turning on two-step authentication. If two-step authentication is not turned on your payouts will be paused. Learn more
I am developing a REST API in js. For this I have already made several get and post requests and everything is fine. In a get request which is specifically to get the variants of a product, the response of this request is the html of the password page. This does not happen to me with the other requests.
The url is fine and the request contains the Basic Auth.
I need to know if it should be sent in another way to enter that password protection or what should be done.
I clarify, this store is under development, so it is not yet transferable to a customer or a Shopify plan is not yet contracted.
The url that I send for this request is the following:
GET
https://{API Key}:{Password}@{store name}/api/2021-01/products/{id_product}/variants.json
User | RANK |
---|---|
5 | |
5 | |
4 | |
4 | |
4 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022