Create company profile

mutation (
    $legalName: String!
    $brandName: String
    $profileName: String!
    $taxId: String
    $yearFounded: Int
    $aboutUs: String
    $metadata: JSON
    $emails: [CompanyEmailInput!]
    $telephoneNumbers: [CompanyTelephoneNumberInput!]
    $addresses: [CompanyAddressInput!]
    $webpages: [WebpageInput!]
    $socialNetworks: [SocialMediaInput!]
    $trustedDomains: [TrustedDomainInput!]
    $subscriptionTopics: [B2cSubscriptionTopicInput!]
    $subscriptionSettings: CompanySubscriptionSettingsInput
    $verticalTypeId: ID
    $organizationTypeId: ID
    $companySpecialties: [ID]
    $legalNameVisibility: [CompanyVisibilityType!]
    $brandNameVisibility: [CompanyVisibilityType!]
    $taxIdVisibility: [CompanyVisibilityType!]
    $aboutUsVisibility: [CompanyVisibilityType!]
    $yearFoundedVisibility: [CompanyVisibilityType!]
    $verticalTypeVisibility: [CompanyVisibilityType!]
    $organizationTypeVisibility: [CompanyVisibilityType!]
    $specialtiesVisibility: [CompanyVisibilityType!]
    $b2cVisibility: [CompanyVisibilityType!]
    $metadataVisibility: [CompanyVisibilityType!]
    $provisionCompanyClientSecret: Boolean
    $connectionType: AdminB2cConnectionType
  ) {
    createCompany (
      legalName: $legalName
      brandName: $brandName
      profileName: $profileName
      taxId: $taxId
      yearFounded: $yearFounded
      aboutUs: $aboutUs
      metadata: $metadata
      emails: $emails
      telephoneNumbers: $telephoneNumbers
      addresses: $addresses
      webpages: $webpages
      socialNetworks: $socialNetworks
      trustedDomains: $trustedDomains
      subscriptionTopics: $subscriptionTopics
      subscriptionSettings: $subscriptionSettings
      verticalTypeId: $verticalTypeId
      organizationTypeId: $organizationTypeId
      companySpecialties: $companySpecialties
      legalNameVisibility: $legalNameVisibility
      brandNameVisibility: $brandNameVisibility
      taxIdVisibility: $taxIdVisibility
      aboutUsVisibility: $aboutUsVisibility
      yearFoundedVisibility: $yearFoundedVisibility
      verticalTypeVisibility: $verticalTypeVisibility
      organizationTypeVisibility: $organizationTypeVisibility
      specialtiesVisibility: $specialtiesVisibility
      b2cVisibility: $b2cVisibility
      metadataVisibility: $metadataVisibility
      provisionCompanyClientSecret: $provisionCompanyClientSecret
      connectionType: $connectionType
    ) {
      id
      clientSecret {
      clientId
      clientSecret
      description
      }
    }
  }

Last updated

Was this helpful?