Revert change

ps_revert_change

Write · preview + approveContent & SEO and Catalog · writes right awayTellMyShop Pro onlySaves: right awayVisible right after install

Undoes a change Claude made.

TellMyShop Free: No. This tool is only in TellMyShop Pro. TellMyShop Free has only ready reports that read your store.

Ask Claude

„Undo yesterday's meta description changes in Sofas.”

Example preview

Operation 9f3c... (12 changes, ps_update_product_content, 2026-10-02 15:12).
Product 112 meta_description: current "Sofa Oslo 3-seat in grey ..." -> restored ""
Warning: product 118 was edited in the back office after this change. Reverting overwrites that edit.

Technical details

Restores values from before a connector change: one change (change_id) or a whole batch operation (operation_id, from the write result or ps_list_changes). If the value has changed since then (for example someone edited it in the back office), the preview shows it, and reverting overwrites that later edit too. Does not revert theme files (ps_restore_file_backup) or URLs (ps_change_url).

Parameters

NameTypeRequiredDescription
change_idintegernoID of a single change (ps_list_changes).
operation_idstring (32 hex)noOperation ID: reverts all its changes.
confirmbooleannofalse (default) returns a preview and saves nothing. true executes, only after the user approved the preview, together with change_token.
change_tokenstringwhen: confirm=trueToken from the preview. Required with confirm=true. Valid 30 minutes, single use, bound to the previewed arguments and data state.

Limits

Give change_id or operation_id. Reverting through the connector needs the switch of the area the change belongs to (Commerce, Theme, Modules or Service; Content & SEO and Catalog need none; customer service changes need customer data access); in the module panel (Change history and undo card) the owner can revert everything. Not reverted by this tool: file changes (ps_restore_file_backup), URLs (ps_change_url), child theme creation, module install, update and uninstall, database structure changes, deleted product images.

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

Use cases with this tool

Last updated: 2026-10-11