Skip to main content
GET
/
api
/
v2
/
storefront
/
post_categories
List all Post Categories
curl --request GET \
  --url https://demo.spreecommerce.org/api/v2/storefront/post_categories
{
  "data": [
    {
      "id": "1",
      "type": "post_category",
      "attributes": {
        "title": "Resources",
        "slug": "resources",
        "created_at": "2025-08-11T20:58:24.354Z",
        "updated_at": "2025-08-11T20:58:24.354Z",
        "description": null
      },
      "relationships": {}
    },
    {
      "id": "2",
      "type": "post_category",
      "attributes": {
        "title": "Articles",
        "slug": "articles",
        "created_at": "2025-08-11T20:58:24.365Z",
        "updated_at": "2025-08-11T20:58:24.365Z",
        "description": null
      },
      "relationships": {}
    },
    {
      "id": "3",
      "type": "post_category",
      "attributes": {
        "title": "News",
        "slug": "news",
        "created_at": "2025-08-11T20:58:24.375Z",
        "updated_at": "2025-08-11T20:58:24.375Z",
        "description": null
      },
      "relationships": {}
    }
  ],
  "meta": {
    "count": 3,
    "total_count": 3,
    "total_pages": 1
  },
  "links": {
    "self": "http://localhost:3000/api/v2/storefront/post_categories",
    "next": "http://localhost:3000/api/v2/storefront/post_categories?page=1",
    "prev": "http://localhost:3000/api/v2/storefront/post_categories?page=1",
    "last": "http://localhost:3000/api/v2/storefront/post_categories?page=1",
    "first": "http://localhost:3000/api/v2/storefront/post_categories?page=1"
  }
}

Query Parameters

filter[ids]
string
filter[title]
string
page
integer
per_page
integer
sort
enum<string>
Available options:
id,
-id,
title,
-title,
created_at,
-created_at,
updated_at,
-updated_at

Response

200 - application/json
data
Post Category · object[]
meta
object