Anchor to locations
querylocations
Requires access scope.
List of the shop's locations that support in-store pickup.
When sorting by distance, you must specify a location via the near
argument.
Anchor to Arguments
•LocationConnection!LocationConnection arguments
- Anchor to afterafter•String
Returns the elements that come after the specified cursor.
- Anchor to beforebefore•String
Returns the elements that come before the specified cursor.
- Anchor to firstfirst•Int
Returns up to the first
n
elements from the list.- Anchor to lastlast•Int
Returns up to the last
n
elements from the list.- Anchor to nearnear•Geo
Coordinate Input Used to sort results based on proximity to the provided location.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Location
Key Sort Keys Default:ID Sort the underlying list by the given key.
Was this section helpful?
Anchor to Possible returnsPossible returns
- Anchor to edgesedges•[Location
Edge!]! non-null A list of edges.
- Anchor to nodesnodes•[Location!]!non-null
A list of the nodes contained in LocationEdge.
- Anchor to pageInfopage•Page
Info Info! non-null Information to aid in pagination.
Was this section helpful?