Category — Mass Update Status
Bulk-flips the status (enabled/disabled) of a batch of categories.
Endpoint
| Endpoint | Method |
|---|---|
/api/admin/catalog/categories/mass-update-status | POST |
Request body
| Field | Type | Required | Notes |
|---|---|---|---|
indices | integer[] | yes | Category ids to update. |
value | integer | yes | 0 to disable, 1 to enable. |
Response
200 OK:
json
{
"updated": [12, 18],
"message": "Categories status updated successfully."
}Errors
| HTTP | Cause |
|---|---|
401 Unauthorized | Missing or invalid Bearer token |

