Skip to main content

accountingImportCustomers

Imports every customer from the connected accounting provider.

Enqueues a background import and returns a server-generated processId. Follow processStatusUpdates(processId:) or query processStatus(processId:) for completion and per-customer failures.

Business Rules​

  • The integration must belong to this company, be active, and be able to supply accounting customers.
  • Each imported customer refreshes the stored provider copy. Links to Endless customers do not change.
  • The process completes after every customer in the import has been handled.

Error Scenarios​

  • **NOT_FOUND**: the integration does not exist for this company.
  • **VALIDATION**: the integration cannot supply accounting customers, or it is inactive.

Permissions Required​

  • accounting:import_customer permission.
accountingImportCustomers(
input: ImportCustomersInput!
): AsynchronousActionResponse!

Arguments​

accountingImportCustomers.input ● ImportCustomersInput! non-null input common​

Parameters for ImportCustomers

Type​

AsynchronousActionResponse object common​

Asynchronous action response type