Skip to main content
connection

An auto-generated type for paginating through multiple Locations.

Anchor to Queries with this connectionQueries with this connection

•query

Returns shop locations that support in-store pickup. Use the near argument with GeoCoordinateInput to sort results by proximity to the customer's location.

When sorting by distance, set sortKey to DISTANCE and provide coordinates using the near argument.

Learn more about supporting local pickup on storefronts.

Arguments

•Int

Returns up to the first n elements from the list.

•String

Returns the elements that come after the specified cursor.

•Int

Returns up to the last n elements from the list.

•String

Returns the elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.

•LocationSortKeys
Default:ID

Sort the underlying list by the given key.

•GeoCoordinateInput

Used to sort results based on proximity to the provided location.



Was this section helpful?

•[LocationEdge!]!
non-null

A list of edges.

•[Location!]!
non-null

A list of the nodes contained in LocationEdge.

•PageInfo!
non-null

Information to aid in pagination.


Was this section helpful?