Development discussions around Shopify APIs
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 |
---|---|
57 | |
11 | |
8 | |
7 | |
6 |
Thanks to all who participated in our AMA with 2H Media on planning your 2023 marketing bu...
By Jacqui Mar 30, 2023Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023