Getting current session shop with shopify app gem/api gem and testing backend APIs

Getting current session shop with shopify app gem/api gem and testing backend APIs

shreyass
Shopify Partner
8 1 2

Hey there!

 

I’m building a web app with Shopify CLI Ruby/React. Got 2 queries:

 

1. How do I get the current session shop object in Rails?

 

2. How do you test the backend APIs that you write? I usually test it on postman, but with CLI, seems like it doesn’t work out of the box

 

Thanks!

Reply 1 (1)

mat_ory
Shopify Partner
9 0 1

Any luck finding an answer?