Search.../
  1. Home
  2. Getting Started
  3. Overview
Generate a test token to explore our APIs

Get Collection

Retrieves a collection with the provided ID.

Authorization

This endpoint requires an authorization header - pass the access token from the OAuth installation flow.

Permissions

This endpoint requires the Read Products or the Manage Products permission scope.

GET

https://www.wixapis.com/stores/v1/collections/{id}

Path Params

NAME
TYPE
DESCRIPTION
id
Required

string

Requested collection ID.

Response Object

NAME
TYPE
DESCRIPTION
collection

object

Status/Error Codes

The response will include an HTTP status code.

Was this helpful?

Request

curl

Copy Code
1curl -X GET \
2 'https://www.wixapis.com/stores/v1/collections/1044e7e4-37d1-0705-c5b3-623baae212fd' \
3 -H 'Authorization: <AUTH>'

Response

json

1
2{"collection": {
3 "id": "1044e7e4-37d1-0705-c5b3-623baae212fd",
4 "name": "C A C T I",
5 "media": {
6 "mainMedia": {
7 "thumbnail": {
8 "url": "https://static.wixstatic.com/media/697bc8_49e72a53cd064655ba1991bf1d7c1deb~mv2_d_1920_1920_s_2.jpg/v1/fit/w_50,h_50,q_90/file.jpg",
9 "width": 50,
10 "height": 50
11 },
12 "mediaType": "image",
13 "title": "",
14 "image": {
15 "url": "https://static.wixstatic.com/media/697bc8_49e72a53cd064655ba1991bf1d7c1deb~mv2_d_1920_1920_s_2.jpg/v1/fit/w_1920,h_1920,q_90/file.jpg",
16 "width": 1920,
17 "height": 1920
18 },
19 "id": ""
20 },
21 "items": [ {
22 "thumbnail": {
23 "url": "https://static.wixstatic.com/media/697bc8_49e72a53cd064655ba1991bf1d7c1deb~mv2_d_1920_1920_s_2.jpg/v1/fit/w_50,h_50,q_90/file.jpg",
24 "width": 50,
25 "height": 50
26 },
27 "mediaType": "image",
28 "title": "",
29 "image": {
30 "url": "https://static.wixstatic.com/media/697bc8_49e72a53cd064655ba1991bf1d7c1deb~mv2_d_1920_1920_s_2.jpg/v1/fit/w_1920,h_1920,q_90/file.jpg",
31 "width": 1920,
32 "height": 1920
33 },
34 "id": ""
35 }]
36 }
37}}