Product Categories
PATCH
Update Product Categories
Update an existing product category.
Required Permission:
Edit Product Category
PATCH
/product-categories/{id}
Request Body
JSONRequest Parameters
| Parameter | Type | Required | Validation | Description |
|---|---|---|---|---|
| name | String | Required | string, required | The name |
| position | Integer | Optional | integer, optional | The position |
| description | String | Optional | string, optional | The description |
| image | File | Optional | file, optional | The image |
| is_show_website | Integer | Optional | integer (0 or 1), optional | Show on website (default: 1) |
Response
200 OKStatus Code
HTTP status code (200)
Message
Human-readable description
Data
Updated product category details