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

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



Reply 1 (1)

Shopify Partner
7 0 0

Any luck finding an answer?