skip to Main Content

I’m going to use the https://github.com/Shopify/shopify_app Gem

I want to be able to pull the orders into my rails app using the Shopify API.

The question I have is it possible to connect to a Shopify store without creating a Shopify app, like the eBay model?

Thanks

5

Answers


  1. I’m pretty sure the answer is no. To do anything with the API you need to send the store’s OAuth token, and you can’t get that unless the store installs your app.

    Login or Signup to reply.
  2. Shopify is a hosted solution.
    It only allows communication from other apps through an API, and only if your app is run/initiated from their environment with authention tokens (even though your app’s real code will be hosted on your server)

    Login or Signup to reply.
  3. Since the following works, I don’t see why not?

    curl https://${api_user}:${api_key}@${your_store}.com/admin/orders.json?ids=${order_id}
    

    Source: https://help.shopify.com/api/reference/order#index

    Just use your favourite http lib/gem.

    Login or Signup to reply.
  4. You can use the Shopify private app which will provide you the secret and passwords and you can assign the needful resources you want to use and you can easily pull data from shopify without any public app
    https://help.shopify.com/en/manual/apps/private-apps#generate-credentials-from-the-shopify-admin

    Hope it will help

    Login or Signup to reply.
  5. It’s possible with GraphQL. Here’s a codepen I use often (in javascript, not ruby, sorry) to quickly test if it’s working.

    Just replace the contents of the endpoint and query variables with your store and query.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search