Locations
GET https://api.ecartapi.com/api/v2/locations
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
locationId | string | String of locations.id separated with commas | |
limit | string | Limit of values to display per page | |
page | string | Number of page to display |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
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}]}