Created
January 8, 2018 19:04
-
-
Save rodcisal/e7d584f802f2121b72280b31cbe0f58e to your computer and use it in GitHub Desktop.
query crmUser
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
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 | |
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