Skip to content
Last update: April 11, 2024

createOrganization mutation

This mutation creates an organization.

Arguments

The InputCreateOrganizationType! represents the input object for creating a contact.

Field Description
id String The Id of the organization.
name String The name of the organization.
memberType String The member type of the organization.
addresses [InputMemberAddressType] The addresses associated with the organization.
phones [String] The phone numbers associated with the organization.
emails [String] The emails associated with the organization.
groups [String] The groups associated with the organization.
dynamicProperties InputDynamicPropertyValueType The dynamic properties of the organization.

Possible returns

Possible return Description
OrgzanizationType Information about the organization.
1
2
3
4
5
6
mutation createOrganization  ($command: InputCreateOrganizationType!) {
  createOrganization (command: $command) {
    id
    name
  }
}
{
  "command": {
    "name": "NewOrgADMIN",
    "addresses": {
      "city": "Berlin",
      "countryCode": "DE",
      "countryName": "German",
      "email": "[email protected]",
      "line1": "line1",
      "firstName": "first123",
      "postalCode": "44232",
      "description": "test"
    }
  }
}