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

# updateCartLocale

GraphQL MUTATION

Update locale of the cart.

**Deprecated:** Alpha version. Do not use in production.

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/storefront/mutations/cart/update-cart-locale

## GraphQL Schema

```graphql
mutation ExampleMutation($input: UpdateCartLocaleInput!) {
  cart {
    updateCartLocale(input: $input) {
      cart {
        id
        entityId
        currencyCode
        displayCurrencyCode
        isTaxIncluded
        baseAmount
        baseAmountInDisplayCurrency
        discountedAmount
        discountedAmountInDisplayCurrency
        amount
      }
      errors
    }
  }
}
```

## Variables

```json
{
  "input": {
    "cartEntityId": "example",
    "data": {
      "locale": "example"
    }
  }
}
```