GET

Get Collection By Slug


Retrieves a collection with the provided slug.

Permissions
Manage Stores - all permissions
Read Stores - all read permissions
Manage Orders
Manage Products
Read Products
Manage Restaurants - all permissions
Learn more about app permissions.
Path Params
slugstringRequired

Slug of the collection to retrieve.

Response Object
collectionCollection

The requested collection.

Get Collection By Slug Example 1
Request
cURL
curl -X GET \ 'https://www.wixapis.com/stores/v1/collections/slug/coffee-products' \ -H 'Authorization: <AUTH>'
Response
JSON
{ "collection": { "id": "32fd0b3a-2d38-2235-7754-78a3f819274a", "name": "Coffee Products", "slug": "coffee-products", "visible": true, "description": "Some Coffee Products", "media": { "mainMedia": { "thumbnail": { "url": "https://static.wixstatic.com/media/11062b_5ccf31f886ec449f84a18ecdf58e05ec~mv2.jpg/v1/fit/w_50,h_50,q_90/file.jpg", "width": 50, "height": 50 }, "mediaType": "image", "title": "", "image": { "url": "https://static.wixstatic.com/media/11062b_5ccf31f886ec449f84a18ecdf58e05ec~mv2.jpg/v1/fit/w_6630,h_5304,q_90/file.jpg", "width": 6630, "height": 5304 }, "id": "" }, "items": [ { "thumbnail": { "url": "https://static.wixstatic.com/media/11062b_5ccf31f886ec449f84a18ecdf58e05ec~mv2.jpg/v1/fit/w_50,h_50,q_90/file.jpg", "width": 50, "height": 50 }, "mediaType": "image", "title": "", "image": { "url": "https://static.wixstatic.com/media/11062b_5ccf31f886ec449f84a18ecdf58e05ec~mv2.jpg/v1/fit/w_6630,h_5304,q_90/file.jpg", "width": 6630, "height": 5304 }, "id": "" } ] }, "numberOfProducts": 5 } }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?