AnySync API Products for WooCommerce

By woocommerceapiproducts

★ 5.0/5 (1 ratings)0+ active installationsVersion 2.3.1

Import products from supplier APIs and JSON/CSV feeds into WooCommerce, then keep stock and prices in sync on a schedule.

Description

AnySync API Products for WooCommerce imports products from a supplier, wholesaler or warehouse API into your store and keeps stock and prices up to date on a schedule. The source can be any REST endpoint that returns JSON, or a URL that returns CSV. You set it up in the WordPress admin: connect the source, match its fields to WooCommerce fields, run the import.

The import and sync jobs run on the AnySync cloud service instead of your own server, so a large catalog does not run into PHP timeouts or memory limits. This means the plugin needs an AnySync account: a 14-day free trial, then a paid subscription. Please read the “External services” section below to see exactly what data is sent and when.

What you need

  • An AnySync account. Start the free trial at https://woocommerce-api-products.com/ and your serial key is emailed to you.
  • A WooCommerce REST API key (Consumer Key and Consumer Secret) with Read/Write permission.
  • A store the internet can reach. The AnySync service connects to your store’s REST API, so a localhost site, or a store behind a password or IP block, will not work.
  • A supplier API or feed URL that returns JSON or CSV.

Connecting a source

  • GET, POST, PUT and DELETE requests
  • API key authentication (header, query parameter or request body) and Bearer tokens
  • Page-based, cursor-based and offset-based pagination
  • A JSON path setting for responses where the product list is nested
  • CSV responses are parsed with the delimiter (comma, semicolon or tab) detected automatically
  • A Test Connection button that shows the API response before you save anything

Mapping fields

The Map tab reads a sample item from your API and lists its fields. You match them to WooCommerce fields:

  • Core: title, short description, description, SKU, categories, tags
  • Pricing: regular price, sale price, sale start and end dates, tax status, tax class
  • Inventory: stock quantity, stock status, backorders, sold individually
  • Shipping: weight, length, width, height, virtual, downloadable
  • Images: product image and gallery images, by URL
  • Other: purchase note, external URL, button text
  • Your store’s global attributes, Advanced Custom Fields fields and other custom meta fields. These are detected from your store, so you do not type meta keys by hand.

Existing products are matched by SKU, so map the SKU field.

Scheduling and sync

  • Sync every 15 minutes, 30 minutes, 1 hour, 6 hours, 12 hours or 24 hours
  • Choose what a sync updates: all mapped fields, stock only, stock and price, or a custom selection of fields
  • Optionally update only the products that already exist in your store, and skip the rest instead of creating them
  • Scheduled syncs for a provider pause automatically when you change its field mapping
  • A live progress bar during imports, and a history of each run with created, updated and failed counts

Several suppliers

Add as many providers as you need. Each one has its own endpoint, authentication, field mapping and sync schedule.

Typical uses

  • Dropshipping: import a supplier catalog and refresh stock as often as every 15 minutes.
  • Wholesale: pull a distributor’s catalog into WooCommerce without reformatting spreadsheets by hand.
  • Several warehouses: add one provider per warehouse, each updating its own products.
  • ERP or inventory software with a REST API (SAP, Oracle, custom systems): keep WooCommerce as the storefront and the ERP as the source of truth.
  • Agencies: connect a client’s system to their store.

Limitations

  • Simple products only. Variable and grouped products are not supported yet.
  • The source must be reachable over HTTP(S) and return JSON or CSV. XML, SOAP, FTP and file uploads are not supported.
  • The plugin does nothing without the AnySync service and an active trial or subscription.

External services

This plugin relies on the following third-party/external services. It does not function without the first one, because all API connections, imports and scheduled syncs are performed by the AnySync cloud service rather than on your own server.

AnySync cloud service

This is the plugin’s own cloud service, operated by AnySync and hosted at https://provider.woocommerce-api-products.com. The plugin is a client for this service: it stores your import configuration and runs the actual API imports and scheduled syncs on your behalf, then pushes the resulting products into your WooCommerce store.

Data is sent to this service in the following situations:

  • When you connect on the Access page: your serial key, your WooCommerce store URL, and your WooCommerce REST API credentials (Consumer Key and Consumer Secret). The credentials are required so the service can create and update products in your store.
  • When you configure a provider on the Define API page: the supplier API endpoint URL, authentication details (API key or Bearer token), pagination settings and JSON path settings you enter for that source.
  • When you save field mappings or sync settings: your mapping and scheduling configuration.
  • When you run or schedule an import, or view import progress and status: requests to start imports and read their status.
  • When checking subscription status or opening the billing pages: your account and subscription identifiers.

Terms of Service: https://woocommerce-api-products.com/terms/
Privacy Policy: https://woocommerce-api-products.com/privacy-policy/

Stripe (subscription billing)

When you use Renew Subscription or Manage Subscription on the Access page, the plugin asks the AnySync service for a Stripe-hosted page and opens it in your browser. Payment details are entered on Stripe’s pages, not in the plugin. Nothing is sent to Stripe by the plugin itself.

This service is provided by Stripe, Inc.
Terms of Service: https://stripe.com/legal/ssa
Privacy Policy: https://stripe.com/privacy

Tawk.to live chat

The Support page has a “Launch Live Chat Support” button that opens a Tawk.to chat in a new browser tab. The plugin does not load any Tawk.to code on your admin pages, and nothing is sent to Tawk.to unless you click the button. Once the chat is open, Tawk.to receives what you type, your email address if you provide it, and standard connection data such as your IP address and browser user agent.

This service is provided by tawk.to inc.
Terms of Service: https://www.tawk.to/terms-of-service/
Privacy Policy: https://www.tawk.to/privacy-policy/

Installation

  1. Install and activate the plugin: go to Plugins > Add New and search for “AnySync”, or upload the anysync-woocommerce-products-from-api folder to /wp-content/plugins/. WooCommerce must be active.
  2. Get a serial key by starting your free trial at https://woocommerce-api-products.com/. The key (format XXXX-XXXX-XXXX-XXXX) is emailed to you.
  3. In WooCommerce > Settings > Advanced > REST API, click Add key, set Permissions to Read/Write and generate the key. Copy the Consumer key (starts with ck_) and Consumer secret (starts with cs_). WooCommerce only shows them once.
  4. Go to API Products > Access, enter the serial key, Consumer key and Consumer secret, and click Connect.
  5. On the Providers tab, add a provider for your supplier.
  6. On the Define API tab, enter the endpoint URL, request method, authentication and pagination. Click Test Connection, then save.
  7. On the Map tab, match the fields detected from your API to WooCommerce fields and save the mapping.
  8. On the Import tab, click Import Now.
  9. On the Settings tab, choose how often to sync and what each sync should update.

Minimum Requirements

  • WordPress 5.8 or later
  • WooCommerce 5.0 or later
  • PHP 7.4 or later
  • WooCommerce REST API enabled, on a store reachable from the internet

FAQ

What kinds of APIs and feeds does it support?

Any HTTP(S) endpoint that returns JSON, including REST APIs from suppliers, warehouses, ERPs or custom systems. Endpoints that return CSV also work, with the delimiter detected automatically. XML, SOAP, FTP and file uploads are not supported.

Does it cost anything?

There is a 14-day free trial, and after that a paid monthly or yearly subscription. Current pricing is on https://woocommerce-api-products.com/. The trial is for first-time customers only.

What happens when my trial or subscription ends?

Imports and scheduled syncs stop. Products already in your store stay where they are, and your settings and serial key are kept. Use Renew Subscription on the Access page to start syncing again, and syncing resumes on its own. If a card payment fails, you keep access for 72 hours while the payment is retried.

Why do I need an account? Why not run imports on my own server?

Imports and scheduled syncs run on the AnySync cloud service so that large catalogs do not hit your host’s PHP time and memory limits. The service needs an account to know which store and configuration to work on.

Can I connect multiple API sources at once?

Yes. Add as many providers as you need. Each has its own configuration, field mapping and sync schedule.

Which authentication methods are supported?

API key (sent as a header, query parameter or in the request body) and Bearer token. The API key field name is customizable to match your provider.

How does pagination work?

Page-based (page number and page size), cursor-based (a next token from the response) and offset-based (offset and limit). The parameter names are customizable.

My API response has the products nested inside other data.

Use the JSON path setting to tell the plugin where the product list is. For example, if the products are at data.results.products, enter that path.

Can I sync only stock levels?

Yes. Choose a sync scope: all mapped fields, stock only, stock and price, or a custom selection of fields. A stock-only sync finds your existing products by SKU and updates just their stock.

Can I update only the products I already have, without creating new ones?

Yes. On the Sync Settings page, tick “Only update existing products”. Products from your supplier that are not already in your store are skipped instead of created, and each run reports how many were skipped. Products are matched by SKU, so a SKU field must be mapped.

What if I change my field mapping after importing?

The plugin asks you to confirm before applying a mapping change, and it pauses scheduled syncs for that provider when the mapping changes.

How does it decide whether a product already exists?

It looks the product up by SKU in your store. Make sure the SKU field is mapped.

Can I use it on a local or staging site?

Only if the AnySync service can reach the site over the internet. A localhost site, or a staging site behind a password or IP restriction, will not connect.

Does it work with variable or grouped products?

Not yet. Only simple products are supported. Variable and grouped product support is planned.

Is it secure?

All AJAX requests are nonce-protected, and the admin pages require the manage_options capability. On the AnySync side, your WooCommerce credentials are stored encrypted (AES-256-GCM), and each WordPress user connects with their own JWT token.

Does the plugin send my data anywhere?

Yes. Imports and scheduled syncs are performed by the AnySync cloud service, subscription payments go through Stripe-hosted pages, and the Support page links out to Tawk.to for live chat. See the “External services” section above for exactly what is sent and when, with the terms and privacy links for each service.

Changelog

2.3.1

  • New “Only update existing products” option on the Sync Settings page: supplier products that are not already in your store are skipped instead of created
  • Stock-only, stock-and-price and custom-field syncs now find your existing products by SKU instead of treating them as new
  • AnySync service: scheduled syncs now pause when a trial or subscription has ended and resume by themselves after renewal; a failed payment keeps access for 72 hours while it is retried

2.3.0

  • Display name is now “AnySync API Products for WooCommerce”
  • Rewrote the plugin description, installation steps and FAQ to match what the plugin actually does, including the free trial and subscription
  • Corrected the Tawk.to disclosure: the Support page links to Tawk.to rather than embedding a chat widget
  • Added Stripe billing pages to the external services disclosure
  • Removed the Documentation card from the Support page, because the pages it linked to do not exist
  • New plugin icon and banner

2.2.0

  • Renamed the plugin to “Anysync WooCommerce Products from API”
  • Prefixed all functions, classes, constants, options, and stored data with a unique plugin prefix to avoid collisions
  • Documented the external backend service and Tawk.to live chat in the readme
  • Declared WooCommerce as a required plugin via the “Requires Plugins” header

2.1.0

  • Updated launch metadata for WordPress.org compatibility
  • Improved admin output escaping and AJAX request sanitization
  • Added explicit caching around product meta-field discovery

2.0.0

  • Complete rewrite with multi-provider architecture
  • Added multi-provider system for unlimited API sources
  • Added cursor-based and offset-based pagination support
  • Added selective sync scopes (ALL, STOCK ONLY, STOCK + PRICE, CUSTOM)
  • Added real-time import progress tracking
  • Added import history with detailed statistics
  • Added auto-pause sync on configuration changes
  • Added visual field mapping with 40+ WooCommerce fields
  • Added custom meta field auto-discovery
  • Added global attribute mapping support
  • Improved security with per-user JWT tokens and nonce protection
  • Redesigned admin UI

1.0.0

  • Initial release