getCollectionBySlug( )
Retrieves a collection with the provided slug.
Permission Scopes
For app development, you must have one of the following permission scopes:Manage Stores - all permissions
Manage Products
Read Stores - all read permissions
Read Products
Manage Orders
Learn more about permission scopes.
Method Declaration
Copy
Method Parameters
slugstringRequired
Slug of the collection to retrieve.
Returns
Return Type:Promise<GetCollectionBySlugResponse>
Was this helpful?
Yes
No