# WooCommerce Store Monitor (`thescrapelab/woocommerce-store-monitor`) Actor

Monitor exact WooCommerce variation prices, native stock states and native review additions across managed stores.

- **URL**: https://apify.com/thescrapelab/woocommerce-store-monitor.md
- **Developed by:** [Inus Grobler](https://apify.com/thescrapelab) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$12.50 / 1,000 completed monitoring checks

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## WooCommerce Store Monitor

Monitor variation prices, native WooCommerce stock states and new native review IDs across stores you manage. Paste store URLs and reuse the same monitor name on later runs.

### Example input

```json
{"storeUrls":["https://haybcoffee.pl"],"maxProductsPerStore":10,"maxReviewsPerStore":1000,"monitorName":"default"}
```

The first run establishes a baseline and delivers check receipts. Later runs add exact variation changes and newly observed native review IDs. Historical reviews are never presented as new on the initial baseline. Different limits create independent scopes.

### Monitoring scope

Store URLs, products per store, native-review limit and monitor name are the only controls. The product scope selects ascending product IDs up to your limit. Capped catalogs are marked `scopeCapped`; this is not a whole-store claim.

Output includes `store_check`, `variant_changed` and `native_review_added` record types, stable event IDs, store/source URLs and collection timestamps. Change rows identify the product and variation or review ID. Price comparisons use integer minor units with currency; retained state records currency precision. Check receipts summarize source observations, including unchanged checks.

Subscription products without options use only the current public feed price; billing frequency, renewal terms and checkout totals are not inferred. Public native stock states distinguish in stock, out of stock and backorder. Exact inventory quantities, protected feeds, third-party review widgets and member-specific prices are unsupported. Failed review lookups are never zero reviews. No API key, cookies or external data subscription is needed for supported public feeds. No Pong's current third-party widget is outside scope; its public native reviews may be historical.

### Pricing

The Actor charges a completed check covering up to ten parent products, with validated variation and review scope. Change rows have no additional fee. Unchanged completed checks are billable. **$0.0125 per completed check of up to ten supported parent products ($12.50 per 1,000 check units). Platform usage is included.** This is not a per-change or per-variant price; partially filled final check units have the same price. No start fee or separate change-row fee. Consult the Pricing tab before use.

### Bounded source work

Each store has an internal request and elapsed-time allowance proportional to its supported product check units. Retries consume that allowance. Very large variation or review histories can exceed it: the run reports an incomplete check and keeps its baseline, rather than returning a misleading zero or charging an incomplete check. The review input is a scan ceiling, not a promise that every history of that size fits a check. Failed source attempts still consume platform resources. No customer transport settings are required.

### Limits and recovery

Sources are the store's documented public WooCommerce Store API, with an anonymous browser fallback. Access can be blocked. All selected review pages must finish within the review cap; otherwise the check fails and its comparison baseline is preserved. Variable products exposing no child identities are listed as unavailable and excluded from billed product counts; the receipt is explicitly partial. Parent ranges are never used as variation prices. Currency changes rebase comparisons. No removals or complete historical change archive are promised.

Use a monitor serially. An ambiguous previous dataset write is reconciled against its recorded dataset; unresolved delivery uncertainty requires inspection rather than blind retry. No run creates schedules. Persisted monitoring state contains IDs and comparison/delivery fields, not descriptions, HTML or reviewer bodies.

### Python API

```python
import os
from apify_client import ApifyClient
client = ApifyClient(os.environ['APIFY_TOKEN'])
run = client.actor('thescrapelab/woocommerce-store-monitor').call(run_input={
    'storeUrls':['https://haybcoffee.pl'], 'maxProductsPerStore':10,
    'maxReviewsPerStore':1000, 'monitorName':'agency'
})
for row in client.dataset(run['defaultDatasetId']).iterate_items():
    print(row)
```

### Example output

A check receipt covers up to ten parent products. It is **not** one catalog row per product. For example, an unchanged scoped check returns:

```json
{
  "recordType": "store_check",
  "outcome": "no_alerts",
  "message": "No new price, stock or native review alerts. Checked 10 products (16 sellable items) and 0 native reviews. Limited product scope; this is not a full-store check.",
  "storeUrl": "https://haybcoffee.pl",
  "productsChecked": 10,
  "variantsChecked": 16,
  "reviewIdsChecked": 0,
  "variantChanges": 0,
  "newReviews": 0,
  "checkedProductIds": ["7603", "7614", "7654", "7656", "7711", "8529", "8535", "8545", "8828", "8831"],
  "baseline": false,
  "scopeCapped": true,
  "status": "complete",
  "unavailableProductIds": [],
  "sourceUrl": "https://haybcoffee.pl/wp-json/wc/store/v1/products",
  "collectedAt": "2026-11-15T08:03:37.402Z"
}
```

Every actual row also includes its stable `eventId`. On the first run, `outcome` is `baseline_saved` and `message` explains that future runs compare against this baseline. `no_alerts` means this check generated no new alerts; newly observed products and currency contexts establish their own baseline.

The **Monitoring results** table shows readable explanations and source links for every record, without empty record-specific columns. **Check details** shows counts, exact checked IDs and coverage flags. **Alert details** shows product/variation names when the feed supplies them, exact IDs, readable `priceBefore` / `priceAfter` decimal strings with `currency`, and native `stockBefore` / `stockAfter` states. `changes` retains original comparisons with integer minor-unit price strings; `minorUnit` gives currency precision. For example, `109000` with `minorUnit: 2` means `1090.00`, not a price of 109000.

The views show the same dataset using different columns; they do not filter out check rows or change billing. Use `recordType` to distinguish `store_check`, `variant_changed` and `native_review_added`. Review alerts identify `productId` and `reviewId`; review text and reviewer identities are not collected.

A successful `reviewIdsChecked: 0` is an empty **native review lookup for the selected products**, not a blocked lookup and not a count of third-party review widgets. `status: complete` means the selected supported product scope completed; `scopeCapped: true` still means the whole store was not checked. Missing variation identities are listed in `unavailableProductIds` and explained in `message`.

### Agency use cases

Check managed stores after catalog imports, connect variation changes to an inventory workflow, or route newly observed native review IDs to a follow-up system. JSON, CSV and Excel exports are available from the dataset. The Actor does not send notifications itself.

### FAQ

**Does an unchanged store cost anything?** Yes. Every completed up-to-ten-product check is billable, because all selected variations and native review pages are checked again. Twenty stores with ten products checked daily for 30 days cost $7.50 at the published event price, assuming one complete check unit per store/run.

**Can I use any WooCommerce store?** Only stores you are authorized to monitor whose public Store API exposes complete supported product and native review data. HAYB Coffee, No Pong and Offerman Woodshop were tested. Themes are not an access guarantee. Nalgene is not validated.

**Will this catch every historical edit?** No. It compares observed public guest prices and stock states and detects newly observed native review IDs. It does not track review-body edits, replies, removed reviews or third-party widgets. New product IDs establish a baseline rather than creating change alerts. Reuse the same monitor name, origin and limits; changing them starts a separate scope.

**What if a check fails?** Inspect the run summary. Failed review retrieval does not become zero reviews, and the successful baseline is preserved. A delivery interrupted after a dataset write is reconciled against that dataset; ambiguous missing writes fail closed for inspection. Keep the recorded datasets until interrupted delivery is resolved. A retry may still incur source/platform work, but already delivered check units are not charged again.

# Actor input Schema

## `storeUrls` (type: `array`):

Public WooCommerce stores you manage.

## `maxProductsPerStore` (type: `integer`):

Maximum parent products checked; capped catalogs are explicitly scoped.

## `maxReviewsPerStore` (type: `integer`):

Maximum reviews scanned for the selected products. Reaching this limit without exhaustion is incomplete coverage.

## `monitorName` (type: `string`):

Reuse the same name and limits for comparisons.

## Actor input object example

```json
{
  "storeUrls": [
    "https://haybcoffee.pl"
  ],
  "maxProductsPerStore": 10,
  "maxReviewsPerStore": 1000,
  "monitorName": "default"
}
```

# Actor output Schema

## `checks` (type: `string`):

Completed monitoring checks and detected price, stock or native-review alerts. Baseline and unchanged checks are explicitly explained.

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "storeUrls": [
        "https://haybcoffee.pl"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("thescrapelab/woocommerce-store-monitor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "storeUrls": ["https://haybcoffee.pl"] }

# Run the Actor and wait for it to finish
run = client.actor("thescrapelab/woocommerce-store-monitor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "storeUrls": [
    "https://haybcoffee.pl"
  ]
}' |
apify call thescrapelab/woocommerce-store-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,thescrapelab/woocommerce-store-monitor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/fsJXU4JWOpAGjxND2/builds/gmeop1ReO4afuHjxB/openapi.json
