> This page is for Developer.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.bigcommerce.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.bigcommerce.com/_mcp/server.

# registerCompany

GraphQL MUTATION

Register a new company for B2B.

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/storefront/mutations/company/register-company

## GraphQL Schema

```graphql
mutation ExampleMutation($input: RegisterCompanyInput!) {
  company {
    registerCompany(input: $input) {
      entityId
      status
      errors
    }
  }
}
```

## Variables

```json
{
  "input": {
    "name": "example",
    "email": "example",
    "phone": "example",
    "fileList": [
      {
        "fileId": "example",
        "fileUrl": "example",
        "fileName": "example",
        "contentType": "example",
        "fileSize": 0
      }
    ],
    "companyUser": {
      "extraFields": {
        "multipleChoices": [
          {
            "name": "example",
            "fieldValue": "example"
          }
        ],
        "numbers": [
          {
            "name": "example",
            "number": "example"
          }
        ],
        "texts": [
          {
            "name": "example",
            "text": "example"
          }
        ],
        "multilineTexts": [
          {
            "name": "example",
            "multilineText": "example"
          }
        ]
      }
    },
    "extraFields": {
      "multipleChoices": [
        {
          "name": "example",
          "fieldValue": "example"
        }
      ],
      "numbers": [
        {
          "name": "example",
          "number": "example"
        }
      ],
      "texts": [
        {
          "name": "example",
          "text": "example"
        }
      ],
      "multilineTexts": [
        {
          "name": "example",
          "multilineText": "example"
        }
      ]
    },
    "address": {
      "firstName": "example",
      "lastName": "example",
      "address1": "example",
      "address2": "example",
      "city": "example",
      "countryCode": "example",
      "stateOrProvince": "example",
      "phone": "example",
      "postalCode": "example",
      "label": "example"
    }
  }
}
```