SaveTo Wishlist for WooCommerce
Get Started
How to use WordPress Abilities with SaveTo Wishlist Pro - SaveTo Wishlist
  1. Home
  2. Knowledge Base
  3. Wishlist
  4. How to use WordPress Abilities with SaveTo Wishlist Pro
  1. Home
  2. Knowledge Base
  3. Developer Guides
  4. How to use WordPress Abilities with SaveTo Wishlist Pro

How to use WordPress Abilities with SaveTo Wishlist Pro

Want an AI assistant to check your wishlist analytics, resend an automation email, or share a customer’s wishlist, without you opening wp-admin? SaveTo Wishlist Pro registers 15 actions with WordPress’s Abilities API, so any AI tool or automation platform that understands it can discover what your wishlist program can do and run those actions directly. This article explains what that means, what you’ll need, and how to try it for the first time.

Requirements

  • SaveTo Wishlist Lite and SaveTo Wishlist Pro version 1.0.2 or later, both active on your site.
  • An Administrator or Shop Manager account. Every ability checks for the same permission your team already uses to manage WooCommerce.
  • An AI tool, agent platform, or Model Context Protocol (MCP) client that can connect to your site and read the WordPress Abilities API. SaveTo Wishlist Pro registers everything it needs on the WordPress side automatically. You just need something on the AI side capable of finding and calling those abilities.

Step 1: Confirm the abilities are registered

As soon as SaveTo Wishlist Pro is active, it registers all 15 abilities automatically. There’s nothing to turn on in your settings. If you or your developer want to double-check they’re there, you’ll need to check via a REST API request rather than just visiting the URL in your browser. WordPress blocks a plain browser visit to this endpoint for security reasons, even when you’re logged in as an Administrator.

The easiest way is with an Application Password:

  1. Go to Users → Profile.
  2. Scroll to Application Passwords and create one.
  3. Run the curl command below from a terminal, replacing the placeholders with your own site and credentials.
  4. Look for entries whose name starts with saveto-wishlist/ in the response. You should see all 15 listed under the SaveTo Wishlist category.
The Application Passwords section on the Users, Profile page, with a new application password name typed in and the Add New Application Password button visible

curl -u "yourusername:xxxx xxxx xxxx xxxx xxxx xxxx" https://yourstore.com/wp-json/wp-abilities/v1/abilities

Pretty-printed JSON response from the wp-abilities/v1/abilities REST endpoint (e.g. curl piped to python3 -m json.tool, or a REST client), showing several saveto-wishlist/ entries such as saveto-wishlist/list-automations and saveto-wishlist/get-overview-insights

Step 2: Connect an AI tool

Point your AI tool, agent platform, or MCP client at your site the way that tool normally asks you to. This step happens entirely on the AI tool’s side, not in wp-admin. Once it’s connected, the tool discovers the SaveTo Wishlist abilities the same way it discovers any other ability registered on your site, and can offer to run them when you ask it something related, like “how many customers added something to their wishlist this week?”

Step 3: Try a read-only ability first

Start with something that only reads data, like asking your AI tool to check your overview insights or list your top wishlist customers. Read-only abilities can’t change anything on your site, so they’re a safe way to confirm the connection is working before you let the AI run an ability that changes data, like sending a share email or creating an automation.

The 15 wishlist abilities

Every ability falls into one of four groups, based on what it does.

Sharing wishlists

AbilityWhat it lets the AI doType
share-wishlist-by-linkCreates or refreshes a shareable link for a wishlistChanges data
share-wishlist-by-emailSends a wishlist share email to one or more addressesChanges data
list-shared-wishlistsLists every wishlist that’s been shared, and who it was shared withRead-only

Automations

AbilityWhat it lets the AI doType
list-automationsLists your configured automations, optionally filtered by trigger, action, or statusRead-only
get-automationReturns the full setup for a single automationRead-only
create-automationCreates a new automationChanges data
update-automationUpdates an existing automationChanges data
toggle-automationTurns an automation on or offChanges data
trigger-manual-notificationManually runs an automation’s action for one customer, like resending an emailChanges data

Customers

AbilityWhat it lets the AI doType
list-wishlist-customersLists customers with active wishlists, ranked by activityRead-only
get-customer-wishlist-summaryReturns one customer’s wishlists, items, value, and last activityRead-only

Analytics

AbilityWhat it lets the AI doType
get-overview-insightsHeadline KPIs, including conversion rate and trendRead-only
get-product-insightsMost-wishlisted, trending, and recently added productsRead-only
get-category-insightsWishlist activity grouped by category and brandRead-only
get-time-based-trendsWishlist additions over time, and by day of the weekRead-only

A few “changes data” abilities are safe to run more than once: refreshing a share link just gives you the same link back, and updating an automation ends up in the same state no matter how many times it runs. Toggling is safe to repeat only when the AI specifies which state it wants. Without a target state, each toggle flips the automation again. Others aren’t: asking your AI tool to send a share email, create an automation, or trigger a manual notification twice will do that action twice. Keep that in mind before you ask an AI tool to retry something automatically.

Who can use these abilities

Every ability, whether it reads data or changes it, checks for the same permission your team already uses to manage WooCommerce. Even the read-only ones can return customer names, emails, and automation setups that may include webhook details, so SaveTo Wishlist Pro holds every ability to that same bar rather than a lower one. In practice, that means only an Administrator or Shop Manager account, or an AI connection authenticated as one, can run these abilities. Other logged-in accounts may be able to see that the abilities exist, but they can’t run them or read any wishlist or customer data.

Troubleshooting

The abilities don’t show up for my AI tool
This usually means the WordPress Abilities API didn’t load. Confirm SaveTo Wishlist Pro is updated to version 1.0.2 or later, and that your site is running PHP 7.4 or newer. If a developer has added the stwpro_disable_abilities filter or the STWPRO_DISABLE_ABILITIES constant to your site, that will also turn off registration. Ask your developer to check for it.

My AI tool says it doesn’t have permission
The account your AI tool is connected as doesn’t have Administrator or Shop Manager access. Reconnect using an account with one of those roles.

A share or automation action ran more than once
Some abilities aren’t safe to repeat: sending a share email, creating an automation, or triggering a manual notification will do it again each time it’s run. Check your automation history or shared wishlists list to confirm what’s already happened before asking your AI tool to try again.

Frequently asked questions

Do I need to install anything extra to use these abilities?
No. SaveTo Wishlist Pro bundles everything it needs to register the abilities, so they’re active automatically as soon as the plugin is. You still need an AI tool or MCP client that can connect to your site to actually use them.

Can I turn this off?
Yes, but it takes a small code change rather than a settings toggle. Ask your developer to add the stwpro_disable_abilities filter, or define the STWPRO_DISABLE_ABILITIES constant, if you’d rather not expose wishlist data to AI tools.

Can my customers use these abilities through their own AI assistants?
No. Every ability requires Administrator or Shop Manager permissions to run, so only your store’s admin team, or an AI connection authenticated as one of them, can run them. A customer’s AI assistant may be able to see that the abilities exist, but it can’t run them or read any wishlist or customer data.

Need help?

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support
Complete Your Purchase