Get single location

GET https://api.ecartapi.com/api/v2/locations/{{id}}

Searches for the selected location and shows detailed information.

Important information:

  • The location's ID must exist

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring

RESPONSES

status: OK

{"success":true,"locations":{"id":"32095207498","name":"Vasconcelos 1400","address1":"Vasconcelos 1400","address2":null,"country":{"code":"MX","name":"Mexico","codeIso2":"MX","codeIso3":"MEX"},"state":{"code":"NL","name":"Nuevo León","codeIso2":null,"codeIso3":null},"city":"San Pedro","postalCode":"66236","phone":null,"active":"true","dates":{"createdAt":"2019-06-21T11:45:49-04:00","updatedAt":"2019-06-21T11:45:49-04:00"}}}