# GET /admin/api/2020-04/locations/count.json

**Resource:** [inventory/location](../resources/inventory-location.md)
**Retrieves a count of locations**
**Operation ID:** `deprecated_202004_get_locations_count`

https://shopify.dev/docs/admin-api/rest/reference/inventory/location#count-2020-04

## Responses

| Status | Description |
|--------|-------------|
| 200 |  |

