For businesses
Your menu, everywhere it needs to be.
Three ways to connect. Pick whichever fits how you already work.
1. Sync from your website or POS
Create an API key in your dashboard (owners only). Each key works for your business alone, is shown once, and can be revoked at any time. Send your menu whenever it changes; read it back with GET /api/v1/menu.
curl -X PUT https://www.datreehouse.com/api/v1/menu \
-H "Authorization: Bearer $DATREEHOUSE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"mode": "upsert",
"items": [
{ "external_id": "sku-1001", "category": "Flower", "name": "House Blend 3.5g",
"brand": "Your Farm", "price_cents": 3500, "thc_percent": 24.1, "in_stock": true }
]
}'mode: "replace" removes items you didn't send. Up to 2,000 items per call. Prices are in cents. Keep your key in an environment variable or secret store, never in page code or URLs, and send it only in the Authorization header.
2. Show your DaTreehouse menu on your site
Paste this where you want the menu. It updates by itself when you change your menu here. No key needed: it only shows public information.
<iframe src="https://www.datreehouse.com/embed/YOUR-SLUG?theme=light"
width="100%" height="900" style="border:0" loading="lazy"
title="Our menu"></iframe>Prefer raw data? GET /api/v1/public/menu/YOUR-SLUG returns your public menu as JSON, including your license disclosure.
3. No website? Get a free mini-site
Turn it on in your dashboard and you get a clean page at datreehouse.com/s/your-business with your menu, hours, call and directions buttons, and your license details. You can point your own domain to it later.
Security
Keys are stored only as one-way hashes, scoped to one business, rate-limited, and logged. A key can never read other businesses' data, B2B pricing or messages. Payloads are strictly validated, and anything unexpected is rejected. CSV import and spreadsheet sync are available in the dashboard for teams that prefer files.