Skip to main content

Arguments

after : String
before : String
dataSource : DataSource
first : Int
last : Int
postcode : String! required
searchDomesticOnly : Boolean
useDes : Boolean

Returns

AddressConnectionTypeConnection

This field is a connection type. Connections are used to implement cursor based pagination.

Allowed Viewers

Customer Partner User Third party

Query Complexity

6

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

query Addresses( $after: String, $before: String, $dataSource: DataSource, $first: Int, $last: Int, $postcode: String!, $searchDomesticOnly: Boolean, $useDes: Boolean ) { addresses( after: $after, before: $before, dataSource: $dataSource, first: $first, last: $last, postcode: $postcode, searchDomesticOnly: $searchDomesticOnly, useDes: $useDes ) { edgeCount edges { ...AddressConnectionTypeEdgeFragment } pageInfo { ...PageInfoFragment } totalCount } }

Variables

{ "after": "YXJyYXljb25uZWN0aW9uOjEw=", "before": "YXJyYXljb25uZWN0aW9uOjEw=", "dataSource": "CACHE", "first": 10, "last": 10, "postcode": "matter-occur-find-me-ground", "searchDomesticOnly": true, "useDes": true }

Response

{ "data": { "addresses": { "edgeCount": 68, "edges": [AddressConnectionTypeEdge], "pageInfo": PageInfo, "totalCount": 42 } } }