What is an organization?
Every Nymble Commerce tenant is an organization with a uniqueOrganizationId. When you authenticate, your JWT carries this identifier automatically — you don’t need to pass it as a query parameter or request body field in most API calls. Nymble Commerce reads it from your token and scopes every read and write to your organization only.
Organizations are useful across several deployment patterns:
- Multi-brand operators — run distinct storefronts under a single Nymble Commerce subscription, each with its own product catalog and customer base.
- Agencies and platforms — manage multiple client accounts from one place, with complete data isolation between clients.
- SaaS platforms with tenant isolation — give each of your customers their own scoped environment without building isolation logic yourself.
OrgCode vs OrganizationId
Nymble Commerce uses two different organization identifiers for different purposes:| Identifier | Format | Purpose |
|---|---|---|
OrgCode | Human-readable string (e.g. "acme") | Used during login and storefront routing. Customers and reps enter this to identify which organization they belong to. |
OrganizationId | UUID (e.g. "org_f47ac10b-...") | Internal identifier used in all data relationships. Embedded in your JWT as a claim after authentication. |
OrgCode at login time. From that point on, your JWT carries the OrganizationId and Nymble Commerce uses it automatically. You rarely need to reference OrganizationId directly in your integration code.
Data isolation
Every resource in Nymble Commerce is scoped to exactly one organization. The API enforces this at the data layer — not just the application layer — so there is no risk of cross-tenant data leakage. The following resource types are fully isolated per organization:| Resource | Isolated by org? |
|---|---|
| Products & catalog | ✅ Yes |
| Customers & contacts | ✅ Yes |
| Orders | ✅ Yes |
| Invoices & payments | ✅ Yes |
| Documents & reports | ✅ Yes |
| Sales reps | ✅ Yes |
| Price tiers | ✅ Yes |
| Integrations | ✅ Yes |
Organization hierarchy
Your organization acts as the root of a tree that all your commerce data hangs from:Organization settings
You can configure the following at the organization level. Changes apply to all users, customers, and API calls within your org.| Setting | Description |
|---|---|
| Price tiers | Define named tiers (e.g. Wholesale, Retail) that control which prices customers see. Each tier has a name and a CurrencyCode. |
| Payment terms | Add or remove terms options available when creating orders (e.g. Net30, Net60, COD). |
| Currency | Each price tier can be tied to a specific currency code. Customers and orders inherit the appropriate currency from their tier. |
| Integrations | Connect payment providers, ERP systems, and other third-party services at the org level. |
| API access | Create and manage API keys scoped to your organization for server-to-server integrations. |
| Customer attributes | Define custom attribute fields that appear on every customer record in your org. |
| Product attributes | Define custom attribute fields that appear on every product in your org’s catalog. |