I’m having a lot of issues with getting collections (or really anything) from my store with my custom app. If I use Shopify.Clients.Rest().get({ path: “products/collections” }), I can’t seem to figure out how to get collections that have a certain title and just keep getting an error saying something like “expected id to be a string”, but I don’t want to have to pass an id in. The other way I found is for me to use Shopify.Utils.loadCurrentSession() and then SmartCollections.all(), but loadCurrentSession() always returns undefined. If I use loadOfflineSession instead it gets me the session, but then when I call SmartCollections.all() it gives me a 401 Unauthorized error.
I’ve been trying to figure this out for a while now but I just can’t seem to get anything to work besides getting products with the rest client.