Skip to content

DTC_ONBOARDING_PAGE_IDS

const DTC_ONBOARDING_PAGE_IDS: readonly ["confirm-home-details", "ownership", "ownership-other", "sale-timeline", "kitchen-condition", "bathroom-condition", "living-room-condition", "exterior-condition", "hoa", "hoa-type", "hoa-guard", "hoa-fees", "eligibility-criteria", "upgrades", "homebuilder", "homebuilder-name", "homebuilder-details", "contact-info"]

Page IDs in the DTC Onboarding flow, in display order.

Pass values from this array to the skipPages prop on <DtcOnboardingFlow> (React + Vue) to remove pages from the questionnaire entirely. Conditional pages (e.g. HOA sub-pages) are already skipped automatically based on prior answers — skipPages is for unconditional removal.

Example

import { DTC_ONBOARDING_PAGE_IDS } from '@opendoor/partner-sdk-client-js-core';
// Skip the homebuilder branch (3 pages) when the partner already knows
// the customer is buying from a specific homebuilder.
<DtcOnboardingFlow
skipPages={['homebuilder', 'homebuilder-name', 'homebuilder-details']}
{...rest}
/>