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
| Argument | Description | Type |
|---|---|---|
| id | ID! |
Type
This field resolves to Company, which has the following fields:
| Field | Description | Type |
|---|---|---|
discountGroups | DiscountGroupsConnection | |
discounts | DiscountsConnection | |
events | EventConnection! | |
forms | [ Form! ] | |
hasActiveDiscountCode | Boolean | |
id | ID! | |
name | The display name of this company. Null if the company has no name set. | String |
posReaders | The POS card reader terminals available for this company. | [ PosReader! ]! |
sale | Retrieves a single sale by ID for this company. | Sale |
sales | Queries sales for this company. | SalesConnection! |