List locations
Changed onReturns a cursor-paginated list of the locations acting as pickup or last-leg delivery points in your program. Narrow to one with id or your own external_id, though sending both is a 400, or filter by service. The name and address on each are what a buyer sees at checkout.
Request
- Base URL: https://api.ekho.com
- URL: https://api.ekho.com/locations
- Auth: HTTP bearer
Query parameters
Ekho location id. Narrows the list to at most one.
Your own id for the location. Narrows the list to at most one.
Return only locations that perform this service.
Page size, 1 to 100.
Return the page after this resource id (newest first).
Response
A page of locations.
Example response
{
"data": [
{
"id": "svp_7Ye2kQp91LmXw4Za",
"external_id": "APEX-4471",
"name": "Apex Powersports of Charlotte",
"email": "service@apexpowersports.example",
"phone": "+17045550143",
"address": {
"address_line_one": "1100 Apex Commerce Dr",
"address_line_two": "Suite 120",
"city": "Charlotte",
"state": "NC",
"zip": "28217",
"lat": 35.2271,
"lng": -80.8431
}
}
]
}Changes
- breaking
removed the enum value
deliveryfrom thequeryrequest parameterservice - warning
added the new
last_leg_deliveryenum value to the///response property for the response status - info
added the new enum value
last_leg_deliveryto thequeryrequest parameterservice - info
removed the
deliveryenum value from the///response property for the response status
- breaking
- info
endpoint added
- info