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

# updateProductCustomFields

GraphQL MUTATION

Updates product's custom fields.

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/admin/mutations/product/update-product-custom-fields

## GraphQL Schema

```graphql
mutation ExampleMutation($input: UpdateProductCustomFieldsInput!) {
  product {
    updateProductCustomFields(input: $input) {
      product {
        id
        basicInformation
        isFeatured
        urlPath
        overridesForLocale
        overridesForChannel
        seoInformation
        storefrontDetails
        preOrderSettings
        customFields
      }
    }
  }
}
```

## Variables

```json
{
  "input": {
    "productId": "example",
    "data": [
      {
        "customFieldId": "example",
        "name": "example",
        "value": "example",
        "overrides": [
          {
            "channelLocaleOverrides": {
              "context": {
                "channelId": null,
                "locale": null
              },
              "data": {
                "name": null,
                "value": null,
                "isVisible": null
              }
            }
          }
        ]
      }
    ]
  }
}
```