Skip to content

Get event category collection (storefront callers see published categories only)​

GET
/rest/v1/event/event-category

Storefront callers — guest (no token) and customer — receive only published categories (event_categories.published = 1): filter[published] is server-forced to 1 for them, so a supplied value is ignored rather than combined. Parity with the legacy storefront listing, which forces the same predicate (Adv_event_categories_model::getCategoriesFront(), :238). ?sort=published is denied for storefront callers too, and the published field itself is no longer emitted in a storefront payload — it was previously advertised to every caller. Backend callers are unaffected and may filter and sort by filter[published] freely to see unpublished categories.

Parameters​

Query Parameters

filter[id]

Filter by category IDs

Type
string
filter[parentId]

Filter by parent category ID

Type
string
filter[published]

Filter by published status. Backend callers only — for storefront (guest/customer) callers this value is server-forced to 1 and any supplied value is ignored.

Type
string
filter[name.el]

Filter by category name (Greek, partial)

Type
string
filter[name.en]

Filter by category name (English, partial)

Type
string
filter[slug.el]

Filter by category slug (Greek)

Type
string
filter[slug.en]

Filter by category slug (English)

Type
string
sort

Sort order

Type
string
page

Page number

Type
integer
limit

Pagination limit

Type
integer
with

With relations (e.g., translations)

Type
string

Responses​

Successful operation

application/json
JSON
"string"

Playground​

Variables
Key
Value

Samples​

Powered by VitePress OpenAPI