1
votes

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

4

4 Answers

3
votes

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.

0
votes

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.

0
votes

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)

0
votes

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