Company
Company entity representing business organizations and corporate entities.
External entity from the company service that provides company identification and business information. Used as a reference for company-specific attributes and organizational relationships within the attribute system.
type Company {
companyId: Int!
addresses(
type: AddressType
isDefault: YesNo
): [Address!]!
attributes(
input: AttributeResultSearchInput
): AttributeResultResponse
favoriteLists(
input: FavoriteListsBaseSearchInput
): FavoriteListsResponse
orderlists(
input: OrderlistSearchInput
): OrderlistsResponse
pricesheets: [Pricesheet!]
name: String!
taxNumber: String
cocNumber: String
debtorId: String
phone: String
email: String
notes: String
hidden: YesNo
inheritProductList: YesNo
path: String
slug: String
tag: String
createdAt: DateTime
lastModifiedAt: DateTime
parentUsergroupId: Int!
usergroup: Usergroup
contacts(
input: ContactSearchArguments = [object Object]
): ContactsResponse
managers: [IBaseUser!]
sources: [Source!]!
usergroupPath: [Usergroup!]!
purchaseAuthorizationConfigs(
input: CompanyPurchaseAuthorizationConfigSearchInput
): PurchaseAuthorizationConfigResponse
}
Fields
Company.companyId
● Int!
non-null scalar
Unique identifier for the company.
This is the primary key used to reference the company throughout the system and in relationships with other entities.
Company.addresses
● [Address!]!
non-null object
Company.addresses.type
● AddressType
enum
Company.addresses.isDefault
● YesNo
enum
Company.attributes
● AttributeResultResponse
object
Lists attributes for this company based on the search input.
Company.attributes.input
● AttributeResultSearchInput
input
Company.favoriteLists
● FavoriteListsResponse
object
Company.favoriteLists.input
● FavoriteListsBaseSearchInput
input
Company.orderlists
● OrderlistsResponse
object
Order lists that are assigned to or accessible by this company.
Returns a paginated collection of order lists where this company has been granted access. Users belonging to this company will be able to see and order from these lists. Results can be filtered using the input parameter for more specific queries.
Company.orderlists.input
● OrderlistSearchInput
input
Search and filtering criteria for order lists associated with this company.
Filters the results to show only order lists that are assigned to or accessible by this specific company. All standard search criteria can be applied in addition to the company-specific filtering.
If not provided, returns all order lists accessible to this company with default pagination settings.
Validation: All provided search criteria must be valid according to their respective field requirements.
Company.pricesheets
● [Pricesheet!]
list object
Company.name
● String!
non-null scalar
Official name of the company.
The legal or business name used for identification and display purposes. This field is required and must be unique within the system.
Company.taxNumber
● String
scalar
Tax identification number of the company.
Official tax registration number used for tax reporting and compliance purposes. Format varies by jurisdiction.
Company.cocNumber
● String
scalar
Chamber of Commerce registration number.
Official business registration number with the local Chamber of Commerce or equivalent business registry authority.
Company.debtorId
● String
scalar
Debtor identification number for accounting purposes.
Internal or external reference number used in financial systems to identify the company as a debtor in accounts receivable.
Company.phone
● String
scalar
Primary phone number for the company.
Main contact phone number for business communications. Should include country code for international numbers.
Company.email
● String
scalar
Primary email address for the company.
Main contact email address used for business communications and system notifications. Must be a valid email format.
Company.notes
● String
scalar
Additional notes or comments about the company.
Free-form text field for storing additional information, special instructions, or internal notes about the company.
Company.hidden
● YesNo
enum
Visibility flag indicating if the company should be hidden from normal operations.
When set to 'Y', the company is hidden from standard user interfaces and is only used for background operations or system processes.
Company.inheritProductList
● YesNo
enum
Product list inheritance setting.
When set to 'Y', the company inherits product lists from its parent usergroup. When set to 'N', it maintains its own product list configuration.
Company.path
● String
scalar
Hierarchical path to the root of the organizational tree.
Comma-separated list of IDs representing the path from this company to the root of the usergroup hierarchy, used for inheritance and permission calculations.
Company.slug
● String
scalar
URL-friendly identifier for the company.
Unique slug used in URLs and API endpoints for human-readable company identification. Must be URL-safe and unique.
Company.tag
● String
scalar
Classification tag for the company.
Custom tag or category used for grouping, filtering, or classification purposes within the system.
Company.createdAt
● DateTime
scalar
Timestamp when the company was created.
Automatically set when the company is first created in the system. Used for auditing and tracking purposes.
Company.lastModifiedAt
● DateTime
scalar
Timestamp when the company was last modified.
Automatically updated whenever any company information is changed. Used for auditing and synchronization purposes.
Company.parentUsergroupId
● Int!
non-null scalar
Identifier of the parent usergroup.
References the usergroup that contains this company in the organizational hierarchy. Used for permission inheritance and organizational structure.
Company.usergroup
● Usergroup
object
Parent usergroup containing this company.
The organizational unit that this company belongs to, providing hierarchical structure and permission inheritance.
Company.contacts
● ContactsResponse
object
Contacts associated with this company.
Paginated list of all contacts that belong to this company, including their roles and relationships.
Company.contacts.input
● ContactSearchArguments
input
Company.managers
● [IBaseUser!]
list interface
Account managers responsible for this company.
List of users or contacts who serve as account managers for this company, responsible for business relationships and account oversight.
Company.sources
● [Source!]!
non-null object
Company.usergroupPath
● [Usergroup!]!
non-null object
Company.purchaseAuthorizationConfigs
● PurchaseAuthorizationConfigResponse
object
All purchase authorization config entities for this company
Company.purchaseAuthorizationConfigs.input
● CompanyPurchaseAuthorizationConfigSearchInput
input
Returned By
company
query ● companyCreate
mutation ● companyUpdate
mutation
Member Of
Cart
object ● CompaniesResponse
object ● Contact
object ● FavoriteList
object ● Orderlist
object ● Pricesheet
object ● PurchaseAuthorizationConfig
object ● Tender
object ● User
object