Skip to content

locations

Get locations for a given user (or current user)

Arguments

has_name · Boolean · Pass in true to get service facilities for CMS 1500
has_service_facilities · Boolean · Pass in true to get service facilities for CMS 1500
after · String · Returns the elements in the list that come after the specified cursor.
before · String · Returns the elements in the list that come before the specified cursor.
first · Int · Returns the first _n_ elements from the list.
last · Int · Returns the last _n_ elements from the list.

Returns

LocationPaginationConnection

Example

query locations(
$has_name: Boolean
$has_service_facilities: Boolean
$keywords: String
$user_id: String
$after: String
$before: String
$first: Int
$last: Int
) {
locations(
has_name: $has_name
has_service_facilities: $has_service_facilities
keywords: $keywords
user_id: $user_id
after: $after
before: $before
first: $first
last: $last
) {
edges
nodes
page_info
total_count
}
}