Skip to content

Get a single event category by ID (storefront callers see published categories only)​

GET
/rest/v1/event/event-category/{id}

Storefront callers — guest (no token) and customer — can only retrieve a published category: requesting an unpublished one (event_categories.published = 0) by ID returns 404 rather than the row, and with it the ?with=translations metadata (name, slug, meta fields) that EventCategoryMuiResource emits with no isBackend() gate. Backend callers are unaffected.

Parameters​

Path Parameters

id*

ID of the event category to retrieve

Type
integer
Required
Format
"int64"

Query Parameters

with

With relations

Type
string

Responses​

Successful operation

application/json
JSON
"string"

Playground​

Variables
Key
Value

Samples​

Powered by VitePress OpenAPI