This is an example Shopify application that shows what you can do with the Shopify API.
show
action of your SessionsController
, which stores the session, and then redirects you to your example dashboard.HomeController
will get your recent Orders
and Articles
through the
Shopify <%= link_to 'REST', 'http://www.xfront.com/REST-Web-Services.html', :title => "Get more information about REST web services in general" %> API and list them with all of your Products
.
You can click on a link of one of your objects and will then be taken to the corresponding admin area of your shop.Note: There are no examples for creating or editing objects, but you are also able to do that with the Shopify API!
If you haven't registered your application yet, then enter your shop's URL or subdomain here:
After registering your application with Shopify, you need to edit the config/shopify.yml
file,
and insert your API-Key and Secret there. Then restart this application.
If you've already supplied those to the generator, then move on to <%= link_to 'Step #2', '#callback-step' %>.
<%= @callback_url %>
,
with the host portion of the URL pointing to whichever domain is currently hosting this application. show
action of your SessionsController
, which stores the session, and then redirects you to your example dashboard.HomeController
will get your recent Orders
and Articles
through the
Shopify <%= link_to 'REST', 'http://www.xfront.com/REST-Web-Services.html', :title => "Get more information about REST web services in general" %> API and list them with all of your Products
.
You can click on a link of one of your objects and will then be taken to the corresponding admin area of your shop.Note: There are no examples for creating or editing objects, but you are also able to do that with the Shopify API!
home_controller
and its index
templateYou can analyze those files to see how the ShopifyAPI is used and get a glimpse of what's possible.
Become an expert.
This feature is not implemented yet, but it in the future it will allow you to register your application, so that will be shown in a public directory with a description, so that more users will take notice of it.