Here at basico.com we are working on a Platform Migration, in order to enter on the Shopify Domain.
As we are documenting several aspects of the ShopifyAPI, we ended up with a tool we believe it will be very useful for everyone starting with ShopifyAPI or Integrations.
Today we released a Github Repository containin a Postman Collection with all the ShopifyAPI Endpoints available to Store Owners (including the ones for ShopifyPlus)
I can’t echo enough how much of a help this is! Can’t wait for the continued development of this repo. Draft order API is going to be a game changer for B2B sales!
Problem:
All API calls work, except for Metafield - POST : Create new metafield for a product
I can do PUT on metafields, I can GET all metafields, and my token has literally every single permission that is selectable, yet I always just get a LOGIN page html as the response. I feel like i’m going insane because I already built my own mini suite of calls and no matter what the POST to make NEW product metadata NEVER works
Any advice would be amazing! (both built my own based on their api, and tried in your suite and neither will work for me)
UPDATE : RESOLUTION *USING POSTMAN ADDS HIDDEN COOKIES… DELETE THAT ISH OR USE A BETTER API TOOL…
Aboverequest is not working even the standard given in Shopify Documentation does not work, nor the one in above zip. PUT / POST Product Variant API’s are not working for me. Can anyone help me please?
Heads up: it appears that the latest Mac OS X upgrade (Mojave) may have updates something in the underlying Chrome Engine (??). This is just me speculating, but whereas before I was able to use the Postman Collection, after the upgrade, my POST requests fail and an HTML page is returned, warning me that “In order to use the Shopify admin you need to enable Javascript.”
I can copy the curl code and execute it from the command line without problems, so the problem seems to be scoped to something within Postman.
Sorry guys, but Shopify documentation is awful, bears strike ressemblance to IBM one. A lot of words and “instructions” but no straight to the point example. I’m using postman collection. GET ORDERS works fine, nothing special with that. POSTing orders is real pain. I tried to post storefront_access_token and I received error: { “errors”: “Internal Server Error” } with service: [email removed]
In fact, I want to post new test order? { “order”: { “line_items”: [ { “variant_id”: 1085584044, “quantity”: 1, “title”: “TEST ORDER”, “price”: 100.00, “grams”: “200” } ] } } What can I have to do? Step by step. That would be nice and easy, not some endless chain documentation with no point at all. I already spent hours in trying and reading docs, manuals and it is quite frustrating.
With the format of request you are trying to make in postman you should be using private app credentials. Check out this doc that has info on how to get started with postman, including how to generate private app credentials
Thanks for answer. Sorry, I tried and lost another hour of very frustrating Sherlock Holmes job. I have 20 years of programming experience and in 98% of cases I figure out an example of almost every programming technology in couple of hours. Your documentation is very confusing. It must be made in small working parts, so users can quickly check and try what is going on and build further. First part is always LOGIN, AUTHENTICATION. Do that this way… with this code, tool.. example one, two, three, etc. You have simple GET calls and I integrate it without any problems, but POST calls are rocket science and endless pain.
Screenshots of not working postman POST order calls are attached. I hope, you will answer me directly what am I doing wrong, not by posting another useless links.
@Ryan Maybe it’s time to create a dedicated Cookies page in the API docs just because these questions and problems keep repeating at least half a dozen times per week on here (not that it isn’t mentioned anywhere… but yeah) ?