Retrieves a collection with the provided slug.
Slug of the collection to retrieve.
The requested collection.
curl -X GET \
'https://www.wixapis.com/stores/v1/collections/slug/coffee-products' \
-H 'Authorization: <AUTH>'
{
"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
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.