ConvertedIn | DOCS
Search…
Collections
Retrieve a list of collections.

Request

1
curl -X GET "{domain}/api/collections?page=1&limit=100" \
2
-H "Access-Token: {access_token}"
Copied!

Parameters

Name
Type
Required
Description
page
int
true
page number
limit
int
true
count items per page

Response

1
{
2
"data": [
3
{
4
"id": 841564295,
5
"taxonomy": "Category > Sub Category",
6
"handle": "ipods",
7
"title": "IPods",
8
"updated_at": "2008-02-01T19:00:00-05:00",
9
"content": "<p>The best selling ipod ever</p>",
10
"published_at": "2008-02-01T19:00:00-05:00",
11
"available": true,
12
"image": {
13
"created_at": "2021-10-01T17:17:03-04:00",
14
"alt": "MP3 Player 8gb",
15
"width": 123,
16
"height": 456,
17
"src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/collections/ipod_nano_8gb.jpg?v=1633123023"
18
}
19
},
20
{
21
"id": 395646240,
22
"taxonomy": "Category > Sub Category",
23
"handle": "ipods_two",
24
"title": "IPods Two",
25
"updated_at": "2008-02-01T19:00:00-05:00",
26
"body_html": "<p>The best selling ipod ever. Again</p>",
27
"published_at": "2008-02-01T19:00:00-05:00",
28
"sort_order": "manual",
29
"template_suffix": null,
30
"available": true,
31
"image": null
32
}
33
],
34
"total": 1000,
35
"per_page": 100,
36
"current_page": 1,
37
"last_page": 10,
38
"from": 1,
39
"to": 100
40
}
Copied!
Copy link