GET
/
api
/
v2
/
storefront
/
post_categories
/
{id}
Retrieve a Post Category
curl --request GET \
  --url https://demo.spreecommerce.org/api/v2/storefront/post_categories/{id}
{
  "data": {
    "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": {
      "posts": {
        "data": [
          {
            "id": "1",
            "type": "post"
          }
        ]
      }
    }
  }
}

Path Parameters

id
string
required

Post Category slug or ID

Query Parameters

include
string

Include related resources (available: posts)

Response

Success

data
object

Post Category represents a category for organizing blog posts or news articles.