v1

latestOpenAPI 3.0.32026-07-242666111.1 KB
locations

Get the location id of a given address Through this endpoint you can exchange an address for a location id. The purpose of this exchange is that later, in a second request, you can include the location id as origin or destination to create an order. Using this flow you won't need to include any more information and you can always reuse the location id for that point.

post/api/v3/locations

Request body

addressesstring[] required
citystring required
countrystring required

Example request

{
  "addresses": [
    "Calle Zoquipa 196, El Parque, Venustiano Carranza, 15960 Ciudad de México, CDMX, México"
  ]
}

Response

messagestring required
traceIdstring uuid required
nextstring uri required
previousstring uri required
errorsobject required