importCompanyFromPsa
Import a company from PSA (ConnectWise) to AppDirect. This simplified flow:
- Fetches company details from ConnectWise using the company ID
- Creates the company in AppDirect using the createAccount API
This page contains
Arguments
| input ImportCompanyFromPsaInput! PREVIEW |
ImportCompanyFromPsaInput 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. |
Return Fields
| results [ImportCompanyResult!] PREVIEW | Results for each company import |
| success Boolean | Overall success status |
| userErrors [ImportCompanyFromPsaError!] PREVIEW | Error details (for backward compatibility) |
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.