$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "shippingInfo": "ispStore~1408:ifcStore~1401@ifcStoreState~US-WA@method~INSTORE_PICKUP",
< "maxItems": 10,
< "endPage": 5,
< "startUrls": [
< "https://www.totalwine.com/spirits/c/c0030?&pageSize=24&aty=1,1,0,1"
< ],
< "extendOutputFunction": "($) => { return {} }",
< "customMapFunction": "(object) => { return {...object} }",
< "proxy": {
< "useApifyProxy": true,
< "apifyProxyCountry": "US",
< "apifyProxyGroups": [
< "RESIDENTIAL"
< ]
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/oyildirim~totalwine-actor/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'