Skip to content

Instantly share code, notes, and snippets.

@rodcisal
Created January 8, 2018 19:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rodcisal/e7d584f802f2121b72280b31cbe0f58e to your computer and use it in GitHub Desktop.
Save rodcisal/e7d584f802f2121b72280b31cbe0f58e to your computer and use it in GitHub Desktop.
query crmUser
const crmUserQuery = gql`
query crmUser($id: ID!) {
crmUser(id: $id) {
id
name
business_card_photo
agent_license_number
brokerage_address
brokerage_name
about_me
awards
email
contact_email
listings {
id
address_full_street_address
photos
list_price
address_postal_code
address_city
bathrooms
bedrooms
address_state_or_province
listing_category
brokerage {
name
phone
}
}
user {
headline
avatar
email
cover_background_color
instagram_url
name
phone
linkedin_profile_url
twitter_profile_url
facebook_profile_url
wishlists {
id
name
favorites {
listing {
id
address_full_street_address
photos
}
}
}
}
}
}
`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment