# Get locations by store codes

```http
GET https://api.synup.com/api/v4/locations-by-store-codes
```

This API retrieves location details based on specified store codes. Using unique store codes, allows businesses to fetch location-specific information such as name, address, contact details, business hours, and other relevant attributes.

Source: https://developer.synup.com/api/locations/get-locations-by-store-codes

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `storeCodes` | string | required | Array of store codes in JSON string format. |

## Example request

```bash
curl -X GET 'https://api.synup.com/api/v4/locations-by-store-codes' \
  -H 'Authorization: API YOUR_API_KEY' \
  -H 'Content-Type: application/json'
```

## Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |
| `400` | Bad request - Invalid store codes format |
| `401` | Unauthorized - Invalid or missing API key |
| `404` | One or more store codes not found |
