Overview
GPS coordinates in Partoo are critical for accurate business location representation across platforms like Google Business Profile, Apple Maps, and other location services. Understanding how coordinates are handled helps ensure proper location data management.Coordinate Fields
Business coordinates are managed through two main fields in the API:| Field | Type | Description |
|---|---|---|
lat | number | null | Latitude coordinate (decimal degrees) |
long | number | null | Longitude coordinate (decimal degrees) |
Decimal coordinates should use dots (.) as separators, not commas. Example:
47.870341, not 47,870341.Coordinate Behavior
The way coordinates are handled depends on how the business is created and whether GPS data is provided:When GPS Coordinates Are Provided
If you provide GPS coordinates when:- Creating a business
- Updating an existing business
- ✅ Stored in Partoo’s database
- ✅ Sent to Google Business Profile
- ✅ Returned via API responses
When GPS Coordinates Are Not Provided
If you don’t provide GPS coordinates via the API: Result:- ❌ No coordinate data is sent from Partoo to Google Business Profile
- ✅ Google Business Profile automatically generate coordinates based on the business address, which we save for each business
- ✅ Auto-generated coordinates are returned in API responses
- ⚠️ Auto-generated coordinates may not be perfectly accurate
Updating the Coordinates in the App
You can also update business coordinates directly in the Partoo app. Navigate to the business page for the business you want to update, and click on your business address, which in turn opens a form where you can edit your address, as well as your GPS coordinates.
In this screenshot, we can see that our adress for the Eiffel Tower doesn't put the map pin exactly in the right position.

After dragging the map pin to the correct location, we can see that it better aligns with reality!
REST API Examples
Creating a Business with Coordinates
When creating a business, include thelat and long fields:
Updating Business Coordinates
You can update coordinates for an existing business:Retrieving Business Coordinates
When fetching business information, coordinates are included in the response:Related Endpoints
- Create Business (
POST /v2/business) - Update Business (
POST /v2/business/{business_id}) - Get Business (
GET /v2/business/{business_id})