Update PrestaShop Category
ps_update_categoryUpdates an existing PrestaShop category name, active status, description, SEO fields, and URL slug, with language-specific values for multilanguage stores.
Instructions
Update an existing category.
⚠️ Requires PS_READONLY=false and PUT enabled on the PrestaShop Webservice key.
Args:
id: Category ID (required)
name: Category name
active: Activate/deactivate
description: Category description
meta_title: SEO title
meta_description: SEO meta description
link_rewrite: URL slug
lang_id: Language ID for multilang fields (default: "1")
Returns: Confirmation with updated fields.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "ps_update_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Category ID | |
| name | No | Category name | |
| active | No | Activate or deactivate | |
| lang_id | No | Language ID | 1 |
| meta_title | No | SEO title | |
| description | No | Category description | |
| link_rewrite | No | URL slug | |
| meta_description | No | SEO meta description | |
| confirmation_token | No | Confirmation token |