Putiikkipalvelu Docs

Pages

CMS pages with typed content blocks (markdown, accordion, gallery, hero, etc.)

Get a published CMS page by slug

GET
/pages/{slug}

Authorization

ApiKeyAuth
x-api-key<token>

API key is automatically provided for demo requests in the playground

In: header

Path Parameters

slug*string

The page slug (e.g. "about", "terms", "homepage")

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://test.putiikkipalvelu.fi/api/storefront/v1/pages/about"
{
  "id": "clx123page",
  "slug": "about",
  "title": "About Us",
  "description": "Learn more about our store",
  "blocks": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440001",
      "order": 0,
      "type": "about",
      "data": {
        "title": "Our Story",
        "description": "<p>We started in 2020...</p>",
        "imageUrl": "https://cdn.example.com/about.jpg",
        "imagePosition": "left"
      }
    },
    {
      "id": "550e8400-e29b-41d4-a716-446655440002",
      "order": 1,
      "type": "accordion",
      "data": {
        "title": "FAQ",
        "items": [
          {
            "id": "550e8400-e29b-41d4-a716-446655440003",
            "question": "What is your return policy?",
            "answer": "<p>30 days no questions asked.</p>",
            "order": 0
          }
        ]
      }
    }
  ],
  "updatedAt": "2025-01-15T12:00:00.000Z",
  "storeName": "My Store",
  "seo": {
    "seoTitle": "My Store",
    "seoDescription": "The best boutique store",
    "domain": "mystore.com",
    "openGraphImageUrl": "https://cdn.example.com/og.jpg",
    "ogImageAlt": "My Store banner",
    "twitterImageUrl": null,
    "twitterHandle": null
  }
}
{
  "error": "Error message"
}
{
  "error": "Error message"
}
{
  "error": "Error message"
}