xpay✦ Commerce
Directory
WooCommerce plugins
API Data Sync for WooCommerce
API Data Sync for WooCommerce
Run a shortcode whenever WooCommerce completes an order, changes an order status or saves a product – and send the data to any external API.
Will this break my store?
What the WordPress.org registry says about keeping API Data Sync for WooCommerce running.
Tested to 7.1
Tested against the WordPress branch in use today.11 days ago
At least 2.9 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.7.4
Your host must be running at least this version.6.5
woocommerce
These must be installed and active first.1
A single maintainer. Worth knowing if the plugin is load-bearing for your store.Maintenance & trust
Scored on how API Data Sync for WooCommerce is looked after — not on how many stores run it.
Maintenance
35 / 35WordPress compatibility
20 / 20Support responsiveness
Not enough dataMerchant satisfaction
Not enough dataListing transparency
6 / 10Ratings
No one has rated this plugin on WordPress.org yet. That is a statement about the ratings page, not about the plugin — plenty of well-kept plugins never collect them.
WooCommerce fires an action whenever an order is completed, its status changes, or a product is created or updated. This plugin lets you pick one of these events and define a shortcode that is executed each time the event occurs.
The shortcode receives all relevant WooCommerce data (order, line items, SKUs, or product details) as a URL-encoded JSON string via the placeholder #orderdata#. Use it to push orders or products to another shop system, an ERP, a CRM, or any REST API – for example with the PRO version of the JSON Content Importer or with a shortcode plugin of your own.
Features
- Event-based trigger – choose one WooCommerce hook per site:
- Order thank-you page (
woocommerce_thankyou) - Order completed (
woocommerce_order_status_completed) - Order status changed (
woocommerce_order_status_changed) - Product created or updated (
woocommerce_update_product)
- Order thank-you page (
- Shortcode execution – the configured shortcode runs with the event data injected via
#orderdata#. - Duplicate protection – orders are marked after a successful sync, so reloading the thank-you page does not trigger a second call.
- Multisite-aware SKU lookup – if a product is not found on the current site, the other sites of the network are checked.
- Logging – the last 20 events (event, order/product, shortcode result) are stored and shown in the admin, with links to the order or product.
- E-mail notification – optionally receive a short e-mail per event with order number, event type and shortcode result.
- HPOS-compatible – works with WooCommerce High-Performance Order Storage and the block-based Cart/Checkout.
- Clean uninstall – all settings and log data are removed on deletion if you opt in.
Privacy
The plugin only processes data on your own site. Order and product data are handed to the shortcode you configure; whether that shortcode sends data to a third party is up to the shortcode plugin you use. The built-in log stores event type, order/product ID and shortcode result – no customer names, addresses or e-mail addresses. The optional notification e-mail contains the order number and the shortcode result, not the order data itself.
WooCommerce, and a plugin that provides the shortcode to be executed. The JSON Content Importer PRO plugin can do this out of the box; alternatively you can write a small plugin yourself that registers a shortcode, reads the param1 attribute and calls your API.
For order events: the complete order (as returned by WC_Order::get_data()), all line items and the resolved SKU per item. For product events: ID, name, descriptions, prices, SKU, stock status, categories and tags. For status changes: order ID, old and new status. Everything is passed as one URL-encoded JSON string.
Each event is only processed once per order. If you switched the trigger from “thank-you page” to “order completed”, both events can fire for the same order once. Also note that woocommerce_order_status_changed fires on every status change, including the change to “completed”.
Yes. Compatibility with High-Performance Order Storage and Cart/Checkout Blocks is declared, and all order access goes through the WooCommerce CRUD API.
Open a topic in the plugin’s support forum on WordPress.org.
Categories
Plugin details
Tags on WordPress.org
