Eventjet GraphQL API documentation

company

Get an organizer's account by its ID (Company.id).

Resolves to null if no organizer with the given ID exists.

The lookup itself is unrestricted, but most fields on the resolved Company are not: fields such as Company.name, Company.sale and Company.sales require authorization and fail for an account that is not connected to this organizer. Company.events resolves only the organizer's externally published events unless the account is connected to it.

The public view of the same organizer, as it appears on an event, is Event.host, which resolves a Host.

query GetCompany($id: ID!) {
  company(id: $id) {
    id
    name
  }
}
query GetCompany($id: ID!) {
  company(id: $id) {
    id
    name
  }
}

Arguments

ArgumentDescriptionType
idID!

Type

This field resolves to Company, which has the following fields:

FieldDescriptionType
discountGroupsDiscountGroupsConnection
discountsDiscountsConnection
eventsEventConnection!
forms[ Form! ]
hasActiveDiscountCodeBoolean
idID!
nameThe display name of this company. Null if the company has no name set.String
posReadersThe POS card reader terminals available for this company.[ PosReader! ]!
saleRetrieves a single sale by ID for this company.Sale
salesQueries sales for this company.SalesConnection!