---
schema_version: "1"
id: d6fe0938ee05ab5f49660cc8a56d40bf3464150aff966525b659f8adfaae014b
title: GeoCountry
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_geocountry.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_geocountry.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: cc966dd05c0e21e022eda86abac7cfba4bc2c61f583cba93d31ff3ae3be087ba
description: Represents a country. This object is available in API version 56.0 and later.
---
# GeoCountry

Represents a country. This object is available in API version 56.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

## Special Access Rules

The GeoCountry object is available if B2B Commerce or D2C Commerce is enabled.

## Fields

| Field | Details |
| --- | --- |
| Description | 
Type

textarea

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

A brief description of this record.



 |
| IsoCode | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort

Description

Two-letter ISO code of the country as defined in the org’s State-Country picklist. This field is unique within your organization



 |
| LastReferencedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp when the current user last accessed data in this record, a record related to this record, or a list view.



 |
| LastViewedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp when the current user last viewed this record or list view. If this value is null, it's possible the user accessed data in this record or list view but didn't view it directly.



 |
| Name | 

Type

string

Properties

Create, Filter, Group, idLookup, Nillable, Sort, Update

Description

The name of the country that corresponds with the ISO code.



 |
| OwnerId | 

Type

reference

Properties

Create, Defaulted on create, Filter, Group, Sort, Update

Description

The owner of the GeoCountry record. By default, the asset owner is the user who created the record.

This field is a polymorphic relationship field.

Relationship Name

Owner

Relationship Type

Lookup

Refers To

Group, User



 |

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[GeoCountryOwnerSharingRule](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_ownersharingrule.htm "StandardObjectNameOwnerSharingRule is the model for all owner sharing rule objects associated with standard objects. These objects represent a rule for sharing a standard object with users other than the owner.")

Sharing rules are available for the object.

[GeoCountryShare](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_share.htm "StandardObjectNameShare is the model for all share objects associated with standard objects. These objects represent a sharing entry on the standard object.")

Sharing is available for the object.

#### See Also

- [GeoState](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_geostate.htm "Represents a state. This object is available in API version 57.0 and later.")
- [TaxGeoConfig](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_taxgeoconfig.htm "Represents a tax configuration associated with a GeoCountry. This object is available in API version 57.0 and later.")