---
title: "Update a business category"
description: "Use POST /business/{business_id}/categories/{category_id} to partially update a category."
canonical: https://docs.ordering.co/api-reference/guides/update-category/
---

# Update a business category

> **API operation:** [Open the endpoint in Scalar](https://docs.ordering.co/api-reference/#tag/business/POST/business/{business_id}/categories/{category_id})

Use `POST /business/{business_id}/categories/{category_id}` to partially update a category. The current public operation is `Category.update`.

This operation requires administrator or business-manager authentication. Send only fields that should change; parent hierarchy, image, rank, ribbon, visibility, and SEO validation remain operation-specific.

```javascript
const response = await ordering.businesses(businessId).categories(categoryId).save()
```

This SDK syntax is historical. Confirm the package and version before using it.

## OpenAPI reference

**Operation:** `POST /business/{business_id}/categories/{category_id}`

**Path parameters**

| Name          | Type    | Required | Description |
| ------------- | ------- | -------- | ----------- |
| `business_id` | integer | Yes      | —           |
| `category_id` | integer | Yes      | —           |

**Request body fields**

| Name                      | Type            | Required |
| ------------------------- | --------------- | -------- |
| `business_id`             | integer         | No       |
| `enabled`                 | boolean         | No       |
| `external_id`             | any             | No       |
| `header`                  | any             | No       |
| `image`                   | any             | No       |
| `name`                    | any             | No       |
| `parent_category_id`      | integer \| null | No       |
| `preparation_day_of_week` | integer \| null | No       |
| `rank`                    | number \| null  | No       |
| `ribbon`                  | string          | No       |
| `seo_description`         | any             | No       |
| `seo_image`               | any             | No       |
| `seo_title`               | any             | No       |
| `shared`                  | any             | No       |
| `slug`                    | string \| null  | No       |
| `snooze_until`            | string \| null  | No       |

**Responses**

| Code | Description                           |
| ---- | ------------------------------------- |
| 200  | OK (Envelope)                         |
| 400  | Bad Request (ErrorResponse)           |
| 401  | Unauthorized                          |
| 404  | Not Found                             |
| 429  | Too Many Requests (ErrorResponse)     |
| 500  | Internal Server Error (ErrorResponse) |
| 503  | Service Unavailable (ErrorResponse)   |

[Open this operation in the API reference](https://docs.ordering.co/api-reference/#tag/business/POST/business/{business_id}/categories/{category_id})
