Locations

GET https://api.ecartapi.com/api/v2/locations

Request Params

KeyDatatypeRequiredDescription
locationIdstringString of locations.id separated with commas
limitstringLimit of values to display per page
pagestringNumber of page to display

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"success":true,"locations":[{"id":1,"code":"BC-LOCATION-1","name":"Default location","type":"PHYSICAL","address1":"Belisario Dominguez, Obispado","address2":"Obispado","interiorNumber":null,"address3":null,"country":{"code":"MX","name":null,"codeIso2":null,"codeIso3":null},"state":{"code":null,"name":"NLE","codeIso2":null,"codeIso3":"NLE"},"city":"Monterrey","postalCode":"64000","phone":"8180762604","active":null,"dates":{"createdAt":null,"updatedAt":null},"description":"","status":true},{"id":2,"code":"test1","name":"Test location","type":"PHYSICAL","address1":"Villas de mexico","address2":"","interiorNumber":null,"address3":null,"country":{"code":"MX","name":null,"codeIso2":null,"codeIso3":null},"state":{"code":null,"name":"NLE","codeIso2":null,"codeIso3":"NLE"},"city":"General Escobedo","postalCode":"66056","phone":"8180762604","active":null,"dates":{"createdAt":null,"updatedAt":null},"description":"","status":true}]}