Skip to main content

Corporate Companies

Partner companies, their approved email domains and the coupons their employees may use. The website verifies a guest's work email, resolves the domain here and unlocks the mapped coupons.

📄️ Bulk create/update companies from a CSV upload

Multipart/form-data upload, field name `file`. One row per approved domain; rows sharing a company are folded together. Download `/sample` for a template. Coupons are named by code (`EBP10`), pipe-separated for more than one. Writes are additive — the file's domains and coupons are added to whatever the company already holds, never replacing them, so re-uploading the same file changes nothing. The whole file is validated before anything is saved and every fault is reported with its spreadsheet row number.