---
schema_version: "1"
id: 59210d6c0e64ca0925685820990b74c24456d3c5716c07cd1066cd5982810018
title: Geolocation Object Import and Export in B2C Commerce
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_geolocation_object_import_export.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_geolocation_object_import_export.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 9ccd988e3d2ffac93feb081785e1fdfe2b87a156f8d253ad6b8342ed2c9c21ec
description: The geolocation.xsd schema supports importing store geolocations based on ZIP code.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Geolocation Object Import and Export in B2C Commerce

The geolocation.xsd schema supports importing store geolocations based on ZIP code.

When configuring the geolocation object, keep the following in mind:

- The root geolocations element serves as a wrapper for various geolocation elements for a single country.
- The country is defined as an attribute of the root geolocations element.
- The geolocation element spans a section with the common import replace semantic. For this reason, a geolocation import file always replaces any existing geolocations of a particular country.
- Geolocations of different countries are imported as separate files.

 
| Object Information | Details |
| --- | --- |
| Schema file | geolocation.xsd |
| Business Manager import location | **site** | **Administration** | **Site Development** | **Site Import & Export** |
| Pipelets | N/A |

The following is a sample XML file containing two geolocation records for the USA:

```markup
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<geolocations country-code="US" xmlns="http://www.demandware.com/xml/impex/geolocation/2007-05-01">
	<geolocation postal-code="00501">  
		<city xml:lang="x-default">HOLTSVILLE</city>
		<state xml:lang="x-default">NY</state> 
		<longitude>-72.637078</longitude> 
		<latitude>40.922326</latitude> 
	</geolocation>
	<geolocation postal-code="00544">  
		<city xml:lang="x-default">HOLTSVILLE</city>
		<state xml:lang="x-default">NY</state> 
		<longitude>-72.637078</longitude> 
		<latitude>40.922326</latitude> 
</geolocation>...</geolocations>
    
```

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/images/icon_note.png)

Note For information about geolocation values in orders, see the Order Object.