📄 MIPYME Documents
Update product category
PUT
Endpoint URL
https://apifacto.com/v1/product_categories/{product_category_id}
Requires authentication
Authentication
Send header Authorization: Bearer <token> (obtained from POST /auth) for protected endpoints.
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
product_category_id | path | string | ✓ | — |
Request body — fields
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Always required | — |
parent_product_category_id | string | Optional | — |
Request body — JSON example
{
"name": "string",
"parent_product_category_id": "string"
}
Responses
Product category updated successfully
Invalid data or product category not found