curl -X POST https://api2.ecomailapp.cz/recommenders \ -H "key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "shop_id": "my-shop", "feed_id": 1 }'
[ { "recommender_id": "6789abc123def", "feed_id": 1, "shop_id": "my-shop", "last_trained_timestamp": null, "status": "created", "settings": { "filtered_products": [], "filtered_categories": [], "included_months": [] } } ]
Create a new Spark recommender for a specific shop and product feed. Training starts automatically after creation.
422
created