Update GPS Location after scan
Overview
This API endpoint enables users to update their GPS location after they opt-in to share it. By providing scan-position data, brands can gain insight into where scans originate and target specific areas with promotions or other initiatives. It's important to note that for this data to be accurate, the user must allow the web-page to access their location. If this is not allowed, the system will default to IP geolocation, which may be less accurate depending on the consumer's internet connection.
This endpoint can be called as soon as the scan_id is available and will mark the scan on the Dashboard. The landing page must then collect the latitude/longitude location and pass it in as input.
POST: /api/v2/consumer/scan/{scan_id}/geotag/
Body Parameters POST (application/json)
{
lat: <Float>, /*Latitude*/
lng: <Float>, /*Longitude*/
}
Expected response: Response (200): Status OK