1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "scopes": [{
9 "id": "synthetic-cycle-count-shortage",
10 "sku": "SKU-AURORA-100",
11 "location": "WH-NORTH-BIN-A01",
12 "period": {
13 "start": "2026-09-01T00:00:00.000Z",
14 "end": "2026-09-02T00:00:00.000Z",
15 },
16 "opening": {
17 "quantity": "100",
18 "unit": "each",
19 },
20 "movements": [
21 {
22 "id": "MOV-AURORA-RECEIPT-001",
23 "type": "RECEIPT",
24 "quantity": "10",
25 "unit": "each",
26 "occurredAt": "2026-09-01T08:00:00.000Z",
27 },
28 {
29 "id": "MOV-AURORA-SHIPMENT-001",
30 "type": "SHIPMENT",
31 "quantity": "7",
32 "unit": "each",
33 "occurredAt": "2026-09-01T15:00:00.000Z",
34 },
35 ],
36 "systemClosing": {
37 "quantity": "103",
38 "unit": "each",
39 },
40 "physicalCount": {
41 "quantity": "100",
42 "unit": "each",
43 },
44 }] }
45
46
47run = client.actor("ceddl/inventory-movement-reconciliation-evidence-gate").call(run_input=run_input)
48
49
50print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
51for item in client.dataset(run.default_dataset_id).iterate_items():
52 print(item)
53
54