Update PrestaShop Product
ps_update_productUpdates PrestaShop product details such as price, active status, name, descriptions, SEO fields, and URL slug by product ID. Use it to correct or refresh catalog data through the Webservice API.
Instructions
Update product fields: price, active status, name, description, meta_title, meta_description, link_rewrite.
⚠️ Requires PS_READONLY=false and PUT enabled on the PrestaShop Webservice key.
Args:
id: Product ID (required)
price: New price (tax excluded)
active: Activate or deactivate the product
name: Product name (for lang_id language)
description: Long description (HTML allowed)
description_short: Short description (HTML allowed)
meta_title: SEO title
meta_description: SEO meta description
link_rewrite: URL slug
lang_id: Language ID for multilang fields (default: "1")
Returns: Updated product summary.
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_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Product ID | |
| name | No | Product name | |
| price | No | New price (tax excluded) | |
| active | No | Activate or deactivate | |
| lang_id | No | Language ID for multilang fields | 1 |
| meta_title | No | SEO title | |
| description | No | Long description (HTML allowed) | |
| link_rewrite | No | URL slug | |
| meta_description | No | SEO meta description | |
| description_short | No | Short description (HTML allowed) | |
| confirmation_token | No | Confirmation token for destructive operations (when PS_CONFIRM_DESTRUCTIVE=true) |