Mutations
upsertCompany
Creates a new company or updates an existing one identified by companyId or companyDomainName. The output includes a result field of either CREATED or UPDATED so you can tell which happened. You can pass a bare domain (e.g. plain.com) or a full URL and Plain will extract the domain. Requires the company:create and company:edit permissions.
MUTATION
upsertCompany(input: UpsertCompanyInput!): UpsertCompanyOutput!Arguments
input
required
Returns
company
result
error
Mutation
Variables
Response
Mutation
Variables
Response

