# searchInStoreLocations

Query · GraphQL API

A paginated list of in-store locations that match the InStoreLocationSearchInput.

## Authentication

- SERVER

## Input

- `input` (`InStoreLocationSearchInput!`) — required
- `first` (`Int`)
- `after` (`String`)

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

A paginated list of searched 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

### Search in store locations

A paginated list of in-store locations that match the InStoreLocationSearchInput.

```graphql
query searchInStoreLocations($input: InStoreLocationSearchInput!, $first: Int, $after: String) {
  searchInStoreLocations(input: $input, 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)