Skip to main content
query

Requires unauthenticated_read_product_pickup_locations access scope.

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.

Anchor to Arguments

LocationConnection arguments

•LocationConnection!
•String

Returns the elements that come after the specified cursor.

•String

Returns the elements that come before the specified cursor.

•Int

Returns up to the first n elements from the list.

•Int

Returns up to the last n elements from the list.

•GeoCoordinateInput

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

•Boolean
Default:false

Reverse the order of the underlying list.

•LocationSortKeys
Default:ID

Sort the underlying list by the given key.


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?