$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "current_csv": "SKU,Price,Quantity\n0007,2.30,5\n7,3.40,6\n",
< "profile": {
< "profile_version": 1,
< "profile_id": "synthetic-plain-sku-usd-each-v1",
< "columns": {
< "group": "SKU",
< "sku": "SKU",
< "options": [],
< "price": "Price",
< "quantity": "Quantity",
< "currency": null,
< "quantity_unit": null
< },
< "semantics": {
< "currency": "USD",
< "decimal_separator": ".",
< "thousands_separator": null,
< "price_scale": 2,
< "quantity_unit": "each",
< "quantity_must_be_integer": true,
< "allow_negative_quantity": false,
< "shared_sku_policy": "forbid"
< },
< "snapshots": {
< "current": "complete",
< "previous": "complete"
< }
< },
< "previous_csv": "SKU,Price,Quantity\n0007,2.30,5\n7,3.40,6\n8,4.50,1\n"
<}
<EOF
$curl "https://api.apify.com/v2/actors/ysoserious_h~catalog-snapshot-guard/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'