$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "listings": [
< {
< "sku": "BTL-750",
< "title": "Stainless Steel Water Bottle 750ml Double Wall Vacuum Insulated",
< "description": "Keeps drinks cold for 24 hours and hot for 12 hours. Leak-proof, BPA-free lid. Fits most car cup holders.",
< "variations": [
< {
< "name": "Color",
< "options": [
< "Black",
< "Silver",
< "Pastel Pink"
< ]
< }
< ],
< "price": 29.9,
< "currency": "MYR"
< },
< {
< "sku": "SRM-30",
< "title": "Hydrating Facial Serum with Hyaluronic Acid 30ml",
< "description": "<p>Lightweight serum with <strong>2% hyaluronic acid</strong> and vitamin B5.</p><ul><li>For all skin types</li><li>Use 2-3 drops morning and night</li></ul>",
< "protectedTerms": [
< "Hyaluronic Acid"
< ],
< "price": "RM 49.90"
< }
< ],
< "sellerProfile": {
< "sellerName": "Your Shop Sdn Bhd",
< "sellerRegNo": "202401012345 (1234567-X)",
< "sellerAddress": "12 Jalan Contoh, 50450 Kuala Lumpur",
< "sellerEmail": "support@yourshop.my",
< "sellerPhone": "+60 3-1234 5678",
< "paymentMethods": "Online banking (FPX), credit/debit card, e-wallet",
< "termsAndConditions": "7-day return for unused items; refund within 14 days.",
< "shippingFee": 0,
< "estimatedDelivery": "2-4 working days in Peninsular Malaysia"
< }
<}
<EOF
$curl "https://api.apify.com/v2/actors/messnomore~sea-listing-localizer/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'