DemandFlow Support Centre

STATE: State

ReferenceEntity Reference16/04/2026Updated 16/04/2026
A geographic state or province, linked to a country, used for address standardisation and regional reporting.

STATE: State

A geographic state or province, linked to a country, used for address standardisation and regional reporting.

Default definition. This article describes the default STATE 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 STATE.

Entity properties

PropertyValue
Entity codeSTATE
Display nameState
PluralStates
Level250

Use cases

A geographic state or province, linked to a country, used for address standardisation and regional reporting.

STATE is a simple lookup entity at level 250. Uses a flat definition array with four fields: name, state code, country (COUNTRY objectLookup), and a readonly Dynamics ID for ERP sync. Grid-only view.

Fields

General

FieldTypeRequiredNotes
nametextYesName.
codetextState Code.
countryreference → COUNTRYCountry.
_dynamics_idtextDynamics ID. Read only.

Relationships

  • Lookups: country points at a COUNTRY record.

Creating a State via the API

POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json

{
  "entity":   "STATE",
  "level":    250,
  "comboKey": "SUB:<your-sub-id>|ENT:",
  "name": "Example name",
  "code": "Example code",
  "country": ""
}

Listing States records

GET /v1/entities/STATE/SUB

See also

statestates

Was this article helpful?

← Back to Knowledge Base