How to get a collection handle
The Storefront collection APIs use the collection handles (slugs) to identify the collection you want to display. It defaults to the "all" collection, but you can specify a different collection by providing the handle.
Here's how you can get the handle for a collection.
-
Go to the Collections page
-
Click on the collection you want to get the handle for. Make sure this collection is public.
-
The handle is the last part of the copyable URL.