AddCompanyUserInput
InputAutogenerated input type of AddCompanyUser
mutation { organization(id: $organizationId) { addCompanyUser } }
Example
mutation AddCompanyUser(
$organizationId: ID!
$input: AddCompanyUserInput!
) {
organization(id: $organizationId) {
addCompanyUser(input: $input) {
companyMembership
errors
}
}
}Fields
| Field | Type | Description |
|---|---|---|
| biddingContact | Boolean | — |
| clientMutationId | String | A unique identifier for the client performing the mutation. |
| companyId | ID! | — |
String! | — | |
| firstName | String! | — |
| inviteBody | String | Custom invitation body for human-authored invitations. Agents must omit this argument to use the approved template. |
| inviteSubject | String | Custom invitation subject for human-authored invitations. Agents must omit this argument. |
| invoiceContact | Boolean | — |
| jobTitle | String | — |
| lastName | String! | — |
| membershipId | ID! | — |
| mobilePhoneNumber | String | — |
| mutationMetadata | JSON | — |
| newUserId | ID! | — |
| officePhoneNumber | String | — |
| role | String! | — |
| sendEmailNotification | Boolean! | — |