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

Request

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

Parameters

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

Response

{
"data": [
{
"id": 841564295,
"taxonomy": "Category > Sub Category",
"handle": "ipods",
"title": "IPods",
"updated_at": "2008-02-01T19:00:00-05:00",
"content": "<p>The best selling ipod ever</p>",
"published_at": "2008-02-01T19:00:00-05:00",
"available": true,
"image": {
"created_at": "2021-10-01T17:17:03-04:00",
"alt": "MP3 Player 8gb",
"width": 123,
"height": 456,
"src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/collections/ipod_nano_8gb.jpg?v=1633123023"
}
},
{
"id": 395646240,
"taxonomy": "Category > Sub Category",
"handle": "ipods_two",
"title": "IPods Two",
"updated_at": "2008-02-01T19:00:00-05:00",
"body_html": "<p>The best selling ipod ever. Again</p>",
"published_at": "2008-02-01T19:00:00-05:00",
"sort_order": "manual",
"template_suffix": null,
"available": true,
"image": null
}
],
"total": 1000,
"per_page": 100,
"current_page": 1,
"last_page": 10,
"from": 1,
"to": 100
}
Copy link
Outline
Request
Parameters
Response