> 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.

# companyCreate

GraphQL MUTATION

Create a company using a customer id.

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/b2b/b2b-graphql/mutations/company-create

## GraphQL Schema

```graphql
mutation ExampleMutation($companyData: CompanyInputType) {
  companyCreate(companyData: $companyData) {
    company {
      id
      companyName
      bcGroupName
      description
      catalogId
      companyStatus
      addressLine1
      addressLine2
      city
      state
    }
  }
}
```

## Variables

```json
{
  "companyData": {
    "storeHash": "example",
    "customerId": "example",
    "customerEmail": "example",
    "companyName": "example",
    "companyEmail": "example",
    "addressLine1": "example",
    "addressLine2": "example",
    "city": "example",
    "companyPhoneNumber": "example",
    "country": "example"
  }
}
```