d
Topic
Posts:
3
Last edited January 31, 2017
g
15

ShopifyAPI Postman Collection

Hi Folks,
Hope your doing fine.

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)

The Repository is the following:
https://github.com/lojabasico/shopify-postman

Right there, you will find precise instructions to how to customize the Collection to work with your own Store.

Hope it can be pinned or featured somehow, so it can help other store owners in the future.

][`s

i
Replies
Jordan API Product / Developer Experience
Posts:
272
January 31, 2017
g
1
upvotes

Hey Renato,

Wow - this is such a great contribution to our community! Kudos for putting this together. 

We’ll make a point to contribute new endpoints and examples as they come in. 

 

All the best,


Jordan L
Developer Experience
Shopify

svidhani Member
Posts:
5
March 22, 2017
g
1
upvotes

Hi,

 

Thanks for adding this. I tried it with the API Key and shared secret but it does not work.

I get this error when i tried the application charge API.

{
  "errors": "[API] Invalid API key or access token (unrecognized login or wrong password)"
}

 

Can somebody help?

Rob Weidner Shopify Partner filmgear.co.za
Posts:
18
March 25, 2017

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!

Posts:
6
November 20, 2017

Amazing.

Posts:
17
December 05, 2017

Thank you!

I architect and optimize software, focusing on data integration. Currently I do this for a fashion design and manufacturing company located in midtown Manhattan, NYC.
Faheem Member
Posts:
1
7 months ago

Fantastic! Great contribution!

Posts:
6
6 months ago

Thank you for this. really great job!! 

will it contain the rest of apis ? (inventory level ..)

Posts:
1
Last edited 6 months ago

POST /admin/products/XXXXX/variants.json HTTP/1.1
Host: sandbox.myshopify.com
Content-Type: application/json
Authorization: Basic 
Cache-Control: no-cache
Postman-Token: 0a3f4fa5-87f1-449c-DDD

{
  "variant": [
    {
      "id": XXXX,
      "option1": "Red",
      "product_id": 78932XXX,
      "title": "REGULAR / Orange",
      "price": "100.00"
    }
    ]
}

 

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?

Output in JSON is

"Unexpected '<'" and in HTML its long body

 

Posts:
2
6 months ago

Hi 

There's some way to send several products in a single call to update the inventory
this is the endpoint that i'm using admin/inventory_levels/set.json
Morten Member
Posts:
1
5 months ago

When POSTing a new Webhook I get a redirect to a login-page. 

Weh I list the existing Webhooks I get an empty list even though I have manually configured a few in the admin page.

Has anyone been able to configure a webhook through the REST admin API?

Posts:
4
4 months ago

Hello all, 

I was wonding if anyone has an answer to the issue of getting  "errors": "[API] Invalid API key or access token (unrecognized login or wrong password)"

 

Thanks,

Mike

 

Posts:
3
about 1 month ago

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. 

Hope this helps a fellow trouble-shooter.

Posts:
7
5 days ago

Thanks alot! Great work

Can you please tell me if there are any Client API's i.e. for adding products to the cart, removing product from the cart, checkout, buy products, etc