$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "baselineDate": "2026-10-01",
< "baselineProducts": [
< {
< "id": 1001,
< "handle": "city-tee",
< "title": "City Tee",
< "published_at": "2026-09-01T00:00:00Z",
< "options": [
< {
< "name": "Size"
< },
< {
< "name": "Color"
< }
< ],
< "variants": [
< {
< "id": 5001,
< "sku": "TEE-S-BLK",
< "barcode": "4006381333931",
< "option1": "S",
< "option2": "Black",
< "available": true
< },
< {
< "id": 5002,
< "sku": "TEE-M-BLK",
< "barcode": "",
< "option1": "M",
< "option2": "Black",
< "available": true
< }
< ]
< },
< {
< "id": 1002,
< "handle": "canvas-tote",
< "title": "Canvas Tote",
< "published_at": "2026-09-01T00:00:00Z",
< "options": [
< {
< "name": "Color"
< }
< ],
< "variants": [
< {
< "id": 5101,
< "sku": "TOTE-NAT",
< "barcode": "5012345678900",
< "option1": "Natural",
< "available": true
< }
< ]
< }
< ],
< "currentDate": "2026-11-01",
< "currentProducts": [
< {
< "id": 1001,
< "handle": "city-tee",
< "title": "City Tee - Organic Cotton",
< "published_at": "2026-09-01T00:00:00Z",
< "options": [
< {
< "name": "Size"
< },
< {
< "name": "Colour"
< }
< ],
< "variants": [
< {
< "id": 5001,
< "sku": "TEE-S-BLK",
< "barcode": "4006381333931",
< "option1": "S",
< "option2": "Black",
< "available": true
< },
< {
< "id": 5002,
< "sku": "TEE-M-BLK",
< "barcode": "4006381333948",
< "option1": "M",
< "option2": "Black",
< "available": true
< },
< {
< "id": 5003,
< "sku": "TEE-L-BLK",
< "barcode": "",
< "option1": "L",
< "option2": "Black",
< "available": false
< }
< ]
< },
< {
< "id": 1002,
< "handle": "canvas-tote",
< "title": "Canvas Tote",
< "published_at": null,
< "options": [
< {
< "name": "Color"
< }
< ],
< "variants": [
< {
< "id": 5101,
< "sku": "TOTE-NAT",
< "barcode": "5012345678900",
< "option1": "Natural",
< "available": true
< }
< ]
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/practical_ai_lab_jp~pal-shopify-variant-listing-drift-audit/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'