Fields
Queries
Uses the IP address of the viewer to determine the closest city Edgewise operates in.
Returns public projects. Default is to return all projects,
sorted by Edgewise Index. You can filter by city, as well
as change the sort order. Some fields are permission restricted,
and will return null
if you (the viewer) do not have permission.
Mutations
Contact a project's sales office. This will create a lead, or merge (based on the email address).
Create a lead note. This will not notify anyone subscribed to lead note notifications.
Create the unit negotiation. Buyers cannot place an offer without having a base negotiation to assign to.
Create an organization respresentative. Necessary for enabling payments.
Create a new personalization. Personalizations are option and upgrade selections for a unit.
Create a personalization credit (eg. "Construction delay"). For percentages (eg. "10% off"), use a personalization discount.
Create a personalization discount (eg. "10% off"). For dollar amounts (eg. "Construction delay"), use a personalization credit.
Create a Stripe charge. Currently, a user can only charge themselves.
Use createPaymentIntent
instead.
Create a one-time-password (OTP) that can be used for reseting a user's password. This will send an email with a unique token that the user can use to create a new password. For security reasons, this always returns true
.
Delete an Organization's avatar image. You must have the OWNER
role on the Organization.
Swap username and password for an authentication token.
Note: token expires after 30 days. If you need a longer expiration (eg. for long-running API access),
create an AccessToken
(which has the benefit of being revokable).
Remove a member from an Organization. You must have the OWNER
role on the Organization.
Update a negotiation. Note: the negotiation status will be automatically set for accepted, rejected, and expired offers.
Update a member's role. You must have the OWNER
role on the Organization to modify another member's role.
Update your notifications for organizations for which you are a member.
Update an organization respresentative.
Update a reservation. If the status is changed to REFUNDED
, then the buyer assignment is removed, and the associated lot or unit will be marked as AVAILABLE
at the originally listed price. Note: marking a reservation as REFUNDED
does not automatically refund associated charges. Charges can be refunded using refundStripeCharge
.
Upload a floor plan elevation image. File size max is 5MB.
Upload an Organization's avatar image. File size max is 5MB. You must have the OWNER
role on the Organization.