---
id: location
title: Location
---

export const Tag = ({children, color}) => (
<span
style={{
      backgroundColor: color,
      borderRadius: '2px',
      color: '#fff',
      padding: '0.2rem',
    }}>
{children}
</span>
);

[Generated query](https://grandstack.io/docs/graphql-schema-generation-augmentation#generated-queries) for Location type nodes.

```graphql
Location(
  _hash_id: ID = 0
  addrLine: String
  country: String
  postBox: String
  postCode: String
  region: String
  settlement: String
  _id: String
  first: Int = 0
  offset: Int = 0
  orderBy: [_LocationOrdering] = []
  filter: _LocationFilter
): [Location]

```

### Arguments

#### `_hash_id` ([`ID`](/docs/api/scalars/id))

#### `addrLine` ([`String`](/docs/api/scalars/string))

#### `country` ([`String`](/docs/api/scalars/string))

#### `postBox` ([`String`](/docs/api/scalars/string))

#### `postCode` ([`String`](/docs/api/scalars/string))

#### `region` ([`String`](/docs/api/scalars/string))

#### `settlement` ([`String`](/docs/api/scalars/string))

#### `_id` ([`String`](/docs/api/scalars/string))

#### `first` ([`Int`](/docs/api/scalars/int))

#### `offset` ([`Int`](/docs/api/scalars/int))

#### `orderBy` ([`[_LocationOrdering]`](/docs/api/enums/location-ordering))

#### `filter` ([`_LocationFilter`](/docs/api/inputs/location-filter))

### Type

#### [`Location`](/docs/api/objects/location)
