Preview

ImportCompanyFromPsaForOnboardingInput is in Preview status and is subject to change without notice. For more information about Preview status, see the GraphQL API policy.

ImportCompanyFromPsaForOnboardingInput

Input for onboarding-specific company import from PSA (supports single or bulk import)

This page contains

    Fields

    psaCompanyIds [Int!]!

    List of PSA company IDs to import (supports single or multiple)

    mor PsaMorInput! PREVIEW

    Merchant of record

    defaultCountryCode String

    Default country code to use when PSA company does not have country information (e.g., US, CA, IN). This is typically the marketplace country code.

    Mutations for ImportCompanyFromPsaForOnboardingInput

    importCompanyFromPsaForOnboarding PREVIEW

    Onboarding-specific company import for Magical Onboarding. Reuses the createCompany composition model in one atomic boundary:

    1. Fetches company details from ConnectWise using the company ID
    2. Creates the company in AppDirect using the createAccount API
    3. Creates the PsaCompanyMapping (phase 1 COMPANY_SYNC)
    4. Persists company_import_records audit