Location

This data is requested for both pickup and delivery. It contains the information of the address where the packages are to be picked up/delivered.

This object is the same for pickup, but for delivery, it varies depending on the country you are in. For Brazil, it is recommended to use the address by components in the delivery to have a better geolocation of the delivery.

Pickup by Warehouse

You can use warehouses saved in the system only as pick locations to create a task.

Detail

Example

{
  "warehouse": 9
}

Standard location to pickup and dropoff

Detail

Example

{
  "address": "J. J. Pérez 90, La Calera, Calera, Valparaíso, Chile",
  "instructions": "Dpt. 403"
  "lat": -32.7894065,
  "lng": -71.1897235,
}

Special location for Brazil

For Brazil, a special object is used to better geolocate the address by components. Here it depends on the zip (only available for Brazil).

Detail

Example

{
    "address": {
        "zipcode": "60348450",
        "neighborhood": "VILA VELHA",
        "streetName": "RUA 24,656",
        "state": "CE",
        "country": "Brazil",
        "city": "FORTALEZA"
    },
    "instructions": "CONJ DOS BANCARIOS - REF.ENDERECO: PROX A UPA"
}