Skip to main content
GET
/
api
/
v1
/
products
List Products
curl --request GET \
  --url https://api.launchmystore.io/api/v1/products \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data.items": [
    {
      "id": "<string>",
      "title": "<string>",
      "handle": "<string>",
      "description": "<string>",
      "vendor": "<string>",
      "product_type": "<string>",
      "status": "<string>",
      "variants": [
        {}
      ],
      "images": [
        {}
      ],
      "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 Products

Returns a paginated list of products in the store.

Request

curl -X GET "https://api.launchmystore.io/api/v1/products" \
  -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)
status
string
Filter by status: active, draft, archived
vendor
string
Filter by vendor name
product_type
string
Filter by product type
created_at_min
string
Filter products created after this date (ISO 8601)
created_at_max
string
Filter products created before this date (ISO 8601)
updated_at_min
string
Filter products updated after this date (ISO 8601)

Response

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

Example Response

{
  "success": true,
  "data": {
    "items": [
      {
        "id": "prod_abc123",
        "title": "Classic T-Shirt",
        "handle": "classic-t-shirt",
        "description": "<p>A comfortable cotton t-shirt.</p>",
        "vendor": "MyBrand",
        "product_type": "Apparel",
        "status": "active",
        "variants": [
          {
            "id": "var_xyz789",
            "title": "Small / Black",
            "price": 2500,
            "sku": "TSHIRT-S-BLK",
            "inventory_quantity": 50
          }
        ],
        "images": [
          {
            "id": "img_123",
            "src": "https://cdn.launchmystore.io/images/tshirt.jpg",
            "position": 1
          }
        ],
        "created_at": "2024-01-15T10:30:00Z",
        "updated_at": "2024-01-20T14:45:00Z"
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 50,
      "total": 150,
      "hasMore": true
    }
  }
}

Error Codes

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