# inStoreLocations

Query · GraphQL API

Retrieve a paginated list of all in-store locations.

## Authentication

- SERVER

## Input

- `first` (`Int`)
- `after` (`String`)

## Returns [InStoreLocationConnection](/braintree/graphql/reference/types/in-store-location-connection)

A paginated list of in-store locations.

### Returned fields

- `edges` (`[InStoreLocationConnectionEdge]`): A list of in-store locations.
- `pageInfo` (`PageInfo!`) — non-null: Information about the page of in-store locations contained in `edges`.

## Examples

### In store locations

Retrieve a paginated list of all in-store locations.

```graphql
query inStoreLocations($first: Int, $after: String) {
  inStoreLocations(first: $first, after: $after) {
    edges {
      cursor
      node {
        __typename
        id
        name
        internalName
        address {
          streetAddress
          extendedAddress
          locality
          region
          postalCode
          countryCode
        }
        geoCoordinates {
          latitude
          longitude
        }
        payerId
        qrCodePaymentsEnabled
      }
    }
    pageInfo {
      hasNextPage
      hasPreviousPage
      startCursor
      endCursor
    }
  }
}
```

---

[View the complete GraphQL schema on GitHub](https://raw.githubusercontent.com/braintree/graphql-api/refs/heads/master/schema.graphql)