API reference, Geolocation

Add geolocation

POSThttps://demo-api.incodesmile.com/omni/add/geolocation

Send location to store in database, or send coordinates and fetch location and store it

Headers

api-versionstringrequiredDefaults to 1.0

Request body

application/json

longitudenumber (float)required

User's geolocation longitude

latitudenumber (float)required

User's geolocation latitude

locationstring

User's current location

madminAreastring
msubAdminAreastring
mlocalitystring
msubLocalitystring
mthoroughfarestring
msubThoroughfarestring
mpostalCodestring
mcountryCodestring
mcountryNamestring

Responses