Update category content
ps_update_category_content
Write · preview + approveBlock 1 · Content & SEODaily connector
Changes category names, descriptions and SEO texts after you approve a preview.
Ask Claude
„Write a 150-word intro for Garden lighting and a longer buying guide below the products.”
Example preview
Category 21 Garden lighting, language en. description: 64 -> 912 characters (diff shown) additional_description: empty -> 3,410 characters meta_title unchanged.
Technical details
Changes name, description, additional description (below the product list), meta title and meta description of categories in one language. Saves like Save in the back office. Does not change the URL (ps_change_url) or the position in the tree.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| changes | array of object | yes | One item per category: category_id (required), name (max 128), description (HTML above the products, max 65,000), additional_description (HTML below the products, max 65,000, good place for longer SEO text), meta_title (max 255, recommended up to 60), meta_description (max 512, recommended 120-160). |
| lang | string | when: shop has more than one active language | ISO code of the language you write in. Required when the shop has more than one active language. Claude writes the content in this language. |
| shop_id | integer | no | Shop ID in a multistore installation. Defaults to the shop in the connector address. IDs are listed by ps_get_shop_info. |
| confirm | boolean | no | false (default) returns a preview and saves nothing. true executes, only after the user approved the preview, together with change_token. |
| change_token | string | when: confirm=true | Token from the preview. Required with confirm=true. Valid 30 minutes, single use, bound to the previewed arguments and data state. |
Limits
Max 20 categories per call. One language per call.
What you see before anything is saved
Claude first calls the tool without confirming it. The module returns a preview (current and new values) and a single-use token valid for 30 minutes. Claude shows you the preview and saves the change only after your yes.
Related tools
- Get category ps_get_category
- Category tree ps_get_category_tree
- Change URL (slug) ps_change_url
- Revert change ps_revert_change
Last updated: 2026-10-03