GraphQL reference

AddCompanyUserPayload

Object

Autogenerated return type of AddCompanyUser.

mutation { organization(id: $organizationId) { addCompanyUser } }

Example

mutation AddCompanyUser(
  $organizationId: ID!
  $input: AddCompanyUserInput!
) {
  organization(id: $organizationId) {
    addCompanyUser(input: $input) {
        companyMembership
        errors
      }
  }
}

Fields

FieldTypeDescription
clientMutationIdStringA unique identifier for the client performing the mutation.
companyMembershipCompanyMembership
constructableUrlString
errors[String!]!