Update Category
PUT /v2/product/category/:id
Updates an existing category identified by its unique ID. This endpoint validates submitted changes, applies them to the stored resource, and returns the full updated category object upon success. It ensures tenant-level consistency and preserves creation metadata while updating modification timestamps.
Response Example
{
"_id": "68f8aa8426dae4c75b4fbd39",
"name": "TechGear",
"tenant": "685498954146b339e63e71b1",
"orderIndex": 8,
"created": "2025-10-22T09:57:24.611Z",
"updated": "2025-10-22T09:57:47.683Z",
"__v": 0,
"id": "68f8aa8426dae4c75b4fbd39"
}