Skip to main content
GET
/
api
/
v1
/
collections.json
List Collections
curl --request GET \
  --url https://api.launchmystore.io/api/v1/collections.json \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data.items": [
    {
      "id": "<string>",
      "title": "<string>",
      "handle": "<string>",
      "description": "<string>",
      "published": true,
      "sort_order": "<string>",
      "image": {},
      "products_count": 123,
      "created_at": "<string>",
      "updated_at": "<string>"
    }
  ],
  "data.pagination": {
    "page": 123,
    "limit": 123,
    "total": 123,
    "hasMore": true
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.launchmystore.io/llms.txt

Use this file to discover all available pages before exploring further.

List Collections

Returns a paginated list of collections in the store.

Request

curl -X GET "https://api.launchmystore.io/api/v1/collections.json" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"

Parameters

page
integer
default:"1"
Page number for pagination
limit
integer
default:"50"
Number of items per page (max 250)
published_status
string
Filter by published status: published, unpublished, any
title
string
Filter by collection title (partial match)
handle
string
Filter by exact handle
updated_at_min
string
Filter collections updated after this date (ISO 8601)
updated_at_max
string
Filter collections updated before this date (ISO 8601)

Response

success
boolean
Whether the request succeeded
data.items
array
Array of collection objects
data.pagination
object
Pagination information

Example Response

{
  "success": true,
  "data": {
    "items": [
      {
        "id": "col_abc123",
        "title": "Summer Collection",
        "handle": "summer-collection",
        "description": "<p>Our latest summer styles.</p>",
        "published": true,
        "sort_order": "best-selling",
        "image": {
          "id": "img_456",
          "src": "https://cdn.launchmystore.io/images/summer-banner.jpg",
          "alt": "Summer Collection"
        },
        "products_count": 24,
        "created_at": "2024-03-01T10:00:00Z",
        "updated_at": "2024-03-15T14:30:00Z"
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 50,
      "total": 12,
      "hasMore": false
    }
  }
}

Error Codes

CodeDescription
UNAUTHORIZEDInvalid or missing access token
FORBIDDENApp doesn’t have read_products scope