Appearance
Settings — Catalog services (modules)
The Services tab under Settings (?section=services) lists and edits service_configurations rows exposed by the Catalog API (GET / POST / PUT / DELETE under /api/catalog/services). At most one configuration may exist per shared ServiceType enum value.
UI behaviour
- Create: The wizard only offers enum values that do not already have a row on the Identity step. If every enum value is configured, the sidebar Create action is disabled.
- Edit:
ServiceTypeis immutable; its selector is hidden. ThePUTbody follows the update schema (noservicefield). - Price: The form uses MXN pesos; the client converts to integer cents (
Math.round(pesos * 100)) before the API call, matching the backendpricecontract. - Active vs presale: The API field
isEnableddrives visibility; the UI labels active modules vs presale (inactive in catalog). - Deactivate / reactivate: From each card’s menu, Desactivar or Reactivar sends a partial
PUTwith{ "isEnabled": false | true }only. The row stays in the database; this is not deletion. Eliminar still callsDELETEand removes the configuration entirely.
Panel routes
- Navigation: Settings → Services sub-tab (
section=servicesvianuqson the settings view).
API reference
See Service configuration management for routes, Zod validation, and structured error codes.