Skip to content

Category — Update (and Move)

Updates an existing category. Equivalent to PUT /api/admin/catalog/categories/{id}.

No separate move mutation

Move semantics are part of updateAdminCategory. Re-parenting and re-positioning are done by supplying parent_id and position on the ordinary update mutation. There is no moveAdminCategory — this mirrors the Bagisto admin panel, which has no separate move action either.

Operation

OperationTypePurpose
updateAdminCategoryMutationUpdate an existing category (also handles moves)

Input

Top-level fields: id (resource IRI), locale, position, attributes, parent_id, status. Translatable fields (slug, name, description, optional meta_*) are nested under a key matching the locale code (e.g. "en"). See the REST page for the full schema.

Released under the MIT License.