Get a single Location

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

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring

RESPONSES

status: OK

{"success":true,"locations":{"id":"test1","name":"W********1","address1":"2********e","address2":"B********3","interiorNumber":null,"address3":null,"country":{"code":null,"name":"US","codeIso2":null,"codeIso3":null},"state":{"code":null,"name":"**","codeIso2":null,"codeIso3":null},"city":"S*****e","postalCode":"9***5","phone":"2**-***-***4","active":null,"dates":{"createdAt":null,"updatedAt":null},"description":"Items ship from here.","status":"ENABLED","types":["WAREHOUSE"]}}