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

# addLocale

GraphQL MUTATION

Adds a locale to a channel.

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/admin/mutations/locale/add-locale

## GraphQL Schema

```graphql
mutation ExampleMutation($input: AddLocaleInput!) {
  locale {
    addLocale(input: $input) {
      locale {
        code
        status
        isDefault
      }
      errors
    }
  }
}
```

## Variables

```json
{
  "input": {
    "channelId": "example",
    "code": "example",
    "status": "ACTIVE"
  }
}
```