# Account

An **Account** represents a tenant profile on the Gamopanda platform. It defines the root configurations governing regional, localization, and integration behaviors for your loyalty program.

:::note
While the Account resource supports standard CRUD operations internally, it is **not publicly accessible** via public REST API endpoints. It is strictly managed via the administrator dashboard.
:::

---

## How it works

1. **Configure account profile** — define basic identity settings, such as your account name.
2. **Set regional defaults** — specify the default language and default timezone for date calculations and schedule execution.
3. **Enable translation locales** — register the array of supported language codes to enable multilingual copies inside the loyalty widget and email templates.
4. **Connect cart platform** — specify the cart integration provider (Shopify, Wix, or Custom) to bridge purchase transactions and store events.

:::note
Please do not modify it unless you have actually switched your cart.
:::

---

## Fields

### Basic settings

| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| `name` | string | ✅ | — | The name of the account (max 64 characters). |
| `supportedLanguageCodes` | array (string) | ✅ | `["en"]` | The languages supported by the account (e.g., `["en", "es", "fr"]`). Dependent on `defaultLanguageCode`. |
| `defaultLanguageCode` | string | ✅ | `en` | The default language code for the account. Must be one of the supported language codes. |
| `defaultTimezone` | string | ✅ | `Asia/Kolkata` | The default timezone for the account (e.g. `America/New_York`, `Europe/London`). |
| `cartType` | enum | ❌ | `custom` | The type of cart platform associated with the account: `custom` · `shopify` · `wix`. |

---

## Access & permissions

| Caller | Allowed operations | Notes |
|---|---|---|
| Org Admin | CREATE · GET · LIST · UPDATE · DELETE | Managed via the internal admin UI only |
| Account Admin | GET · LIST  |  Managed via the internal admin UI only |
| End user | *(none)* | No access |
| Guest user | *(none)* | No access |

---

## Related resources

| Resource | Description |
|---|---|
| [API Keys](/api-key) | Credentials used to authenticate your server's requests |
| [Theme](/theme) | Global design tokens associated with the account's loyalty widget |
| [Templates](/template) | Custom UI copy configurations associated with the account |
