Docs
Dashboard

categoryCreate

Mutation

Creates a new category

#

Arguments


input
CategoryCreateInput!Required

The input data for creating a category, including name, slug, and optional parent ID.

#

Payload


category
Category

The category associated with this category create payload.

errors
[CategoryCreateError!]

User-facing errors that prevented the operation from succeeding.