Develop Websites
Build Apps
Go Headless
APIs and SDKs
/
getCollectionBySlug( )
Retrieves a collection with the provided slug.
Permissions
Manage Stores - all permissions
Manage Products
Read Stores - all read permissions
Read Products
Manage Orders
Learn more about
app permissions
.
Method Declaration
Copy
Method Parameters
slug
string
Required
Slug of the collection to retrieve.
Returns
Return Type:
Promise<GetCollectionBySlugResponse>
Show GetCollectionBySlugResponse Properties
Was this helpful?
Yes
No