- OFFER_REQUEST_QUERY =
<<~GRAPHQL.freeze
query OfferRequest($opendoorOfferRequestId: String!) {
offerRequest(opendoorOfferRequestId: $opendoorOfferRequestId) {
opendoorOfferRequestId
offerStatus
denialInfo {
deniedAt
code
explanation
}
offerData {
headlinePriceCents
headlineValuationRangeStart
headlineValuationRangeEnd
feeCostCents
feeCostPercent
estimatedClosingCostCents
estimatedClosingCostPercent
repairCostCents
url
authenticatedDashboardUrl
offerSource
sentAt
expirationAt
expirationAtDisplayDate
underwritingCompletedAt
underwritingState
enteredContractAt
coeDate
closedAt
withdrawnAt
priceAlert
}
handoverAt
}
}
GRAPHQL
- OFFER_REQUEST_WITH_SELL_DIRECT_PRICING =
<<~GRAPHQL.freeze
query OfferRequestWithSellDirectPricing($opendoorOfferRequestId: String!) {
offerRequestWithSellDirectPricing(opendoorOfferRequestId: $opendoorOfferRequestId) {
opendoorOfferRequestId
offerStatus
denialInfo {
deniedAt
code
explanation
}
offerData {
netProceeds
sentAt
expirationAt
expirationAtDisplayDate
mortgageBalance
sellerName
sellerEmail
headlinePriceCents
opendoorFeeCents
repairCostCents
closingCostsCents
}
}
}
GRAPHQL
- OFFER_REQUEST_WITH_PRODUCTS_PRICING =
<<~GRAPHQL.freeze
query OfferRequestWithProductsPricing($opendoorOfferRequestId: String!) {
offerRequestWithProductsPricing(opendoorOfferRequestId: $opendoorOfferRequestId) {
opendoorOfferRequestId
offerStatus
denialInfo {
deniedAt
code
explanation
}
handoverAt
sellDirect {
offerStatus
denialInfo {
deniedAt
code
explanation
}
offerData {
netProceeds
sentAt
expirationAt
expirationAtDisplayDate
mortgageBalance
sellerName
sellerEmail
headlinePriceCents
opendoorFeeCents
repairCostCents
closingCostsCents
}
}
cnml {
offerStatus
denialInfo {
deniedAt
code
explanation
}
offerData {
estimatedSalePriceCents
upfrontCashCents
estimatedAdditionalProceedsCents
estimatedTotalProceedsCents
programFeeCents
repairCostCents
closingCostCents
}
}
}
}
GRAPHQL
- ADDRESS_UNIT_CHECK =
<<~GRAPHQL.freeze
query AddressUnitCheck($address: AddressInput!) {
addressUnitCheck(address: $address) {
requiresUnitNumber
}
}
GRAPHQL
- LIST_PARTNERS_QUERY =
<<~GRAPHQL.freeze
query ListPartnersQuery($partnershipType: OdProtosPartnershipData_PartnershipType!) {
partnership {
listPartners(input: { partnershipType: $partnershipType }) {
partners {
identifier
displayName
}
}
}
}
GRAPHQL
- ADDRESS_DETAILS_QUERY =
<<~GRAPHQL.freeze
query Address($address: AddressInput!, $trackingId: String) {
address(address: $address) {
products {
homeSell {
isEligible
denialCode
denialExplanation
valueEstimate {
lower
upper
}
referral(trackingId: $trackingId) {
url
}
}
}
}
}
GRAPHQL
- SELLER_INPUT_PREFILLS_QUERY =
<<~GRAPHQL.freeze
query SellerInputPrefills($sellerInputUuid: String!) {
sellerInputPrefills(sellerInputUuid: $sellerInputUuid) {
answerPrefills
}
}
GRAPHQL
- OFFER_REQUEST_CREATE =
<<~GRAPHQL.freeze
mutation OfferRequestCreate($offerRequestCreateInput: OfferRequestCreateInput!) {
offerRequestCreate(params: $offerRequestCreateInput) {
offerRequest {
opendoorOfferRequestId
offerStatus
denialInfo {
deniedAt
code
explanation
}
}
}
}
GRAPHQL
- OFFER_REQUEST_UPDATE =
<<~GRAPHQL.freeze
mutation OfferRequestUpdate($offerRequestUpdateInput: OfferRequestUpdateInput!) {
offerRequestUpdate(params: $offerRequestUpdateInput) {
offerRequest {
opendoorOfferRequestId
offerStatus
denialInfo {
deniedAt
code
explanation
}
}
}
}
GRAPHQL