Geofence API v1
Reuse your delivery geography through a common, versioned data format. A receiving system can understand saved boundaries without redrawing the same map.
One map, more uses
Keep delivery coverage consistent across authorized tools. Geofence API describes delivery geography; a store connector and an advertising application have separate responsibilities.
Document and fields
The document contains schema_version, updated_at and a geofences array. Each area has a stable geofence_id, name, active/inactive status, revision, source location, geometry, inclusions, exclusions, delivery_type and update timestamp.
schema_version1.0geofence_idstringrevisionintegerstatusactive | inactivegeometrycircle | polygonlocationlatitude, longitude, label, source_typeinclusions / exclusions{ id, geometry }[]updated_atISO 8601
Example JSON
Fictional example using WGS84 coordinates. Polygon positions use [longitude, latitude]; circle centers use named latitude and longitude fields. The example is not connected to a real store.
{
"schema_version": "1.0",
"updated_at": "2026-11-19T12:00:00.000Z",
"geofences": [
{
"schema_version": "1.0",
"geofence_id": "gf_example_origin_001",
"name": "Example delivery area",
"status": "active",
"revision": 1,
"location": {
"source_type": "custom_origin",
"label": "Example dispatch point",
"latitude": 53.0138,
"longitude": 18.5984
},
"geometry": {
"type": "circle",
"center": {
"latitude": 53.0138,
"longitude": 18.5984
},
"radius": 12,
"unit": "km"
},
"inclusions": [],
"exclusions": [
{
"id": "area_example_exclusion_001",
"geometry": {
"type": "polygon",
"coordinates": [
[
18.6,
53.02
],
[
18.61,
53.02
],
[
18.61,
53.03
],
[
18.6,
53.02
]
]
}
}
],
"delivery_type": "local_delivery",
"updated_at": "2026-11-19T12:00:00.000Z"
}
]
}Access and connection
This page documents a data contract, not a public merchant-data endpoint. Reading a store’s areas requires a separately configured, authenticated connection and authorization from that store. Publishing and transport are implemented by the integration.
Privacy and security
Share delivery geography only. Customer records, orders, payment details, advertising credentials and campaign identifiers do not belong in this document. Keep access tokens on the server and authorize the receiving system separately.
Versions and updates
Preserve an area’s ID when editing it. Check revision and updated_at for changes. Validate schema_version and geometry before using data. Keep inactive areas distinguishable from missing data; do not treat a new revision as approval to change advertising. Breaking changes require a new schema version.
Platform instructions
The common data format is separate from the way a platform publishes or receives it. Check the selected platform’s instructions for supported connections, access requirements and current availability. Installing a connector does not automatically connect a companion app.
Shopify
This page documents a data contract, not a public merchant-data endpoint. Reading a store’s areas requires a separately configured, authenticated connection and authorization from that store. Publishing and transport are implemented by the integration.
- Owner
- Shop
- Namespace
radius_delivery- Key
geofences_v1- Type
json
query RadiusReadGeofences { shop { metafield(namespace: "radius_delivery", key: "geofences_v1") { value type updatedAt } } }Share delivery geography only. Customer records, orders, payment details, advertising credentials and campaign identifiers do not belong in this document. Keep access tokens on the server and authorize the receiving system separately.