curl -X POST "https://www.mirhaandco.com/api/v1/recommend" \
-H "Content-Type: application/json" \
-d '{
"apiKey": "b2b_trial_key",
"postalCode": "London",
"skinType": "oily",
"mainConcern": "acne",
// Optional: pass your own product catalog for SKU-matched results.
// Replace these with your real product IDs, names, ingredients & prices.
// The API scores each item against local water hardness + climate and
// returns the best-matched products for this shopper's location.
"catalog": [
{ "id": "YOUR-SKU-001", "name": "Your Cleanser", "ingredients": ["Salicylic Acid", "Niacinamide"], "price": 18.00 },
{ "id": "YOUR-SKU-002", "name": "Your Moisturiser", "ingredients": ["Ceramide", "Hyaluronic Acid"], "price": 24.00 },
{ "id": "YOUR-SKU-003", "name": "Your Serum", "ingredients": ["Vitamin C", "Ferulic Acid"], "price": 32.00 }
]
}'