Business Module
Business is an extension of the Onboarding Module Hub package (ext-business.sql). It ALTERs users with a business profile (is_business, biz_*) — no new tables.
Install with onboarding target: "all" (or the business component after core).
Ownership (Onboarding family)
| Concern | Write | Read |
|---|---|---|
| Business profile | PUT /auth/user/me or POST .../onboarding/complete | GET /auth/user/me |
| Acquisition / team size | complete only | never on GET |
| Privacy GDPR/CCPA | /auth/user/me/privacy* | GET me + GET privacy |
Business updates are not on the Privacy routes.
Friendly rule
- Install onboarding + ext-business via Module Hub.
- First-run wizard may set biz fields via
POST /auth/user/me/onboarding/complete. - After that, prefer
PUT /auth/user/meforis_business/biz_*(incl.biz_postal_code). - Profile GET returns biz fields when columns exist.
Columns (ext-business.sql)
| Column | Notes |
|---|---|
is_business | Primary B2B flag |
biz_name | Company / organization |
biz_country | ISO alpha-2 |
biz_state | State / province (free text) |
biz_position | Role / title |
biz_postal_code | Postal/ZIP or hyphenated range, max 32 |
Admin analytics
| Method | Path | Notes |
|---|---|---|
GET | /auth/admin/analytics/acquisition | Breakdown by channel/source |
GET | /auth/admin/analytics/acquisition/funnel | Per-source verified/converted |
GET | /auth/users?is_business=&biz_country=&privacy_region= | Admin list filters |
PATCH | /auth/admin/users/:id/privacy | Admin privacy override |
See Admin API and Onboarding operations.