Help me solve, (ERROR when Pulling API Vendors Shopify).
Hello my dear friends, I’m trying to list all shopify sellers by making the call GET /admin/api/2019-07/products/vendors.json
I also need to send new seller registration “POST”.
I can access the API in the browser and it works, but when I click on “Initialize call” it gives an error.
Can you help me?
The endoint that you are requesting does not exist.
It looks like you are also using a very old version (2019-07), you should try to use the most recent (2023-01).
Have you tried getting a list of products with the parameter fields
set to vendor
?
Hello friend, thank you, I did as you suggested, but it still gives error.
I didn’t find it in the shopify document.
It looks like you are trying to do multiple things at the same time, and you did not do what I suggested.
In your first post you say you want to list vendors. As I said you can do that calling the endpoint I mentioned and you can find the documentation at the link I provided in my previous post.
Now it looks like you are doing a totally random api request. Yoi changed the method and the body, but the endpoint looks the same. From what I can see in the documentation that endpoint does not exist, it doesn’t matter if you change other details of the request.
If you want to list vendors you need to retrieve products (the products will have a field vendors
)