1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "currentCatalogFile": { "catalogs": [{
10 "storeDomain": "demo-catalog.example",
11 "scopeKey": "all-online-products",
12 "observedAt": "2026-11-18T12:00:00Z",
13 "complete": True,
14 "scanSucceeded": True,
15 "variantsComplete": True,
16 "currencyContext": {
17 "currency": "USD",
18 "market": "US",
19 },
20 "sourceUrl": "https://demo-catalog.example/authorized-export.json",
21 "products": [
22 {
23 "id": "p100",
24 "title": "Demo Linen Shirt",
25 "handle": "linen-shirt",
26 "price": "39.00",
27 "available": True,
28 "variants": [
29 {
30 "id": "v100-s",
31 "title": "Small",
32 "price": "39.00",
33 "available": True,
34 },
35 {
36 "id": "v100-m",
37 "title": "Medium",
38 "price": "39.00",
39 "available": False,
40 },
41 ],
42 },
43 {
44 "id": "p200",
45 "title": "Demo Canvas Bag",
46 "handle": "canvas-bag",
47 "price": "24.00",
48 "available": True,
49 "variants": [],
50 },
51 ],
52 }] },
53 "demo": True,
54}
55
56
57run = client.actor("afkdigital/shopify-new-product-catalog-change-monitor").call(run_input=run_input)
58
59
60print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
61for item in client.dataset(run.default_dataset_id).iterate_items():
62 print(item)
63
64