$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mapPolicy": [
< {
< "sku": "GS-LEGGING-ONYX",
< "productName": "Gymshark Everyday Seamless Legging",
< "category": "Apparel",
< "mapPrice": 55,
< "currency": "USD",
< "retailers": [
< {
< "name": "Gymshark",
< "url": "https://www.gymshark.com/products/gymshark-everyday-seamless-washed-legging-2-0-gs-onyx-grey-wash"
< }
< ]
< },
< {
< "sku": "ALLBIRDS-WR-BLACK",
< "productName": "Allbirds Wool Runners",
< "category": "Footwear",
< "mapPrice": 110,
< "currency": "USD",
< "retailers": [
< {
< "name": "Allbirds",
< "url": "https://www.allbirds.com/products/mens-wool-runners"
< }
< ]
< },
< {
< "sku": "MVMT-CLASSIC-40",
< "productName": "MVMT Classic Watch 40mm",
< "category": "Accessories",
< "mapPrice": 128,
< "currency": "USD",
< "retailers": [
< {
< "name": "MVMT",
< "url": "https://www.mvmt.com/watches/mens/classic-40mm-40000107-d"
< }
< ]
< }
< ],
< "proxyConfiguration": {
< "useApifyProxy": false
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/e-commerce~map-compliance-monitor/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'