COUNTRY: Country
The COUNTRY entity stores countries. A country reference record with ISO codes and dialling code for standardised geographic identification.
Default definition. This article describes the default
COUNTRY definition shipped with DemandFlow. Administrators can add, remove, rename, or re-type fields, change which ones are required, and alter the layout from the Definitions screen in Settings. Your tenant's current schema may differ from what is shown here. To read the current definition at any time, GET the DEFINITION object whose id matches COUNTRY.Entity properties
| Property | Value |
|---|---|
| Entity code | COUNTRY |
| Display name | Country |
| Plural | Countries |
| Level | 250 |
Use cases
COUNTRY is a reference data entity providing standardised country information used across the platform for geographic classification. It uses the simple grid view (view.type: 'grid') rather than complex panels, reflecting its role as a lookup table.
Fields
Country
| Field | Type | Required | Notes |
|---|---|---|---|
name | text | Yes | Name |
iso2 | text | Yes | 2 digit ISO |
iso3 | text | Yes | 3 digit ISO |
phone | text | Country dialling code |
Relationships
- No declared relationships in the default definition.
Creating a Country via the API
POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json
{
"entity": "COUNTRY",
"level": 250,
"comboKey": "SUB:<your-sub-id>|ENT:",
"name": "Example value",
"iso2": "Example value",
"iso3": "Example value"
}
Listing Countries
GET /v1/entities/COUNTRY/SUB