List collections
GET/openapi/2026-07/collections
Retrieves a list of collections based on various filter criteria, such as product_id, title, or update timestamps.
Request
Query Parameters
Cursor for pagination
A limit on the number of objects to return. Range: 1-100 (default is 10)
List of collection IDs to retrieve specific collections. Example: ?ids=1001&ids=1002
Filter collections by their title (supports partial matching)
Minimum timestamp for filtering collections by their last updated date. Format: YYYY-MM-DDTHH:mm:ssZ
Maximum timestamp for filtering collections by their last updated date. Format: YYYY-MM-DDTHH:mm:ssZ
UUID of a product to filter collections that include the product
Filter whether smart collection
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
- Array [
- Array [
- Array [
- ]
- ]
- ]
error code
error message
data object
collections object[]
List of collections
Collection ID
Title
Description
URL-friendly identifier (handle)
Smart
image object
Image
The source URL of the image
The width of the image in pixels
The height of the image in pixels
Alt text for the image
SEO title
SEO keywords
SEO description
Sort order
Creation timestamp, in ISO-8601 format
Last update timestamp, in ISO-8601 format
match_rules object
Smart collection match rules
Whether conditions are disjunctive (OR)
rule_modules object[]
List of rule modules
Whether conditions are disjunctive (OR)
rules object[]
List of rules in this module
Column
Relation
Condition
List of tags for the collection
Number of products in the collection
Cursor for pagination
Whether there are more records
{
"code": "string",
"message": "string",
"data": {
"collections": [
{
"id": "string",
"title": "string",
"description": "string",
"handle": "string",
"smart": true,
"image": {
"src": "string",
"width": 0,
"height": 0,
"alt": "string"
},
"seo_title": "string",
"seo_keywords": [
"string"
],
"seo_description": "string",
"sort_order": "string",
"created_at": "string",
"updated_at": "string",
"match_rules": {
"disjunctive": true,
"rule_modules": [
{
"disjunctive": true,
"rules": [
{
"column": "string",
"relation": "string",
"condition": "string"
}
]
}
]
},
"tags": [
"string"
],
"product_count": 0
}
],
"cursor": "string",
"has_more": true
}
}