Skip to main content

CompanySearchArguments

Input for searching companies

input CompanySearchArguments {
companyIds: [Int!]
name: String
term: String
termFields: [CompanyTermField!]
sources: [SourceSearchInput!]
taxNumber: String
cocNumber: String
debtorIds: [String!]
email: String
phone: String
managedCompaniesOnly: Boolean
page: Int!
offset: Int!
sort: [CompanySortInput!]
lastModifiedAt: DateSearchInput
createdAt: DateSearchInput
}

Fields

CompanySearchArguments.companyIds ● [Int!] list scalar

Company IDs

CompanySearchArguments.name ● String scalar

Company name

CompanySearchArguments.term ● String scalar

Free-text search term. Text fields are matched as a case-insensitive substring; the numeric *_ID fields are matched by exact id (and apply only when the term is numeric). By default it searches the company's own fields (name, taxNumber, cocNumber, notes, debtorId, email); restrict or extend the searched fields with termFields. Multi-word terms must all match (AND). Each word must be at least 3 characters, except numeric id values which may be shorter.

CompanySearchArguments.termFields ● [CompanyTermField!] list enum

Fields the term searches. Text fields match by case-insensitive substring; the *_ID fields (COMPANY_ID, COMPANY_ADDRESS_ID, CONTACT_ID) match by exact id and apply only when the term is numeric. When omitted, only company fields are searched. Include address or contact fields to also search the company's addresses or contacts.

CompanySearchArguments.sources ● [SourceSearchInput!] list input

CompanySearchArguments.taxNumber ● String scalar

Company tax identification number for legal compliance, billing, and financial reporting

CompanySearchArguments.cocNumber ● String scalar

Chamber of Commerce registration number for business verification and legal compliance

CompanySearchArguments.debtorIds ● [String!] list scalar

Search by debtor IDs

CompanySearchArguments.email ● String scalar

Primary business email address for company communication and notifications

CompanySearchArguments.phone ● String scalar

Primary business phone number for company communication and contact purposes

CompanySearchArguments.managedCompaniesOnly ● Boolean scalar

Managed companies only

CompanySearchArguments.page ● Int! non-null scalar

Page number for pagination (default: 1)

CompanySearchArguments.offset ● Int! non-null scalar

Number of items per page (default: 12, max: 100)

CompanySearchArguments.sort ● [CompanySortInput!] list input

Array of sorting criteria for organizing search results by various attributes

CompanySearchArguments.lastModifiedAt ● DateSearchInput input

Date range filter for entities modified within a specific time period

CompanySearchArguments.createdAt ● DateSearchInput input

Date range filter for entities created within a specific time period

Member Of

companies query