Welcome back to another installment of Developing Shopify Apps! In case you missed the previous articles in this series, they are: Part 1: The Setup. In this article, we: Joined Shopify's Partner Program Created a new test shop Launched a new test shop Added an app to the test shop Played with a couple of quick API calls through the browser Part 2: Exploring the API. This article covered: Shopify's RESTful API, including a quick explanation of how to use it Retrieving general information about a shop via the admin panel and the API Retrieving information from a shop, such as products, via the API Exploring RESTful APIs with a REST Console So far, all we've done is retrieve information from a shop. We did this by using the GET verb and applying it to resources exposed by the Shopify API, such as products, blogs, articles and so on. Of all the HTTP verbs, GET is the simplest to use; you can simply request information by using your browser's address bar. Working with the other three HTTP verbs -- POST, PUT and DELETE -- usually takes a little more work. One very easy-to-use way to make calls to the Shopify API using all four verbs is a REST client. You have many options, including: cURL: the web developer's Swiss Army knife. This command line utility gets and sends files using URL syntax using a wide array of protocols including HTTP and friends, FTP and similar, LDAPS, TELNET and mail formats including IMAP, POP3 and SMTP. Desktop REST clients such as Fiddler for Windows or WizTools' RESTClient Browser-based REST clients such as RESTClient for Firefox or REST Console for Chrome Lately, I've been using REST Console for Chrome. It's quite handy -- when installed, it's instantly available with one click on its icon, just to the left of Chrome's "Wrench" menu (which is to the right of the address bar): And here's what the REST Console looks like -- clean and simple: Let's try a simple GET operation: let's get the list of products
NayaRead shows a summary and links to the original article. The full article is hosted on shopify.engineering.