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

# update

GraphQL MUTATION

Replaces the store-wide list, or the list of each channel.
When a code is not valid, the mutation writes nothing and returns a ValidationError.
The mutation writes the channels one by one. When a write fails for a different reason, the channels before it keep the new list, and the response has a top-level error. Send the request again: the write is idempotent.

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/admin/mutations/i-sell-to/update

## GraphQL Schema

```graphql
mutation ExampleMutation($input: UpdateISellToInput!) {
  iSellTo {
    update(input: $input) {
      iSellTo {
        context
        data
      }
      errors
    }
  }
}
```

## Variables

```json
{
  "input": {
    "context": {
      "channelIds": [
        "example"
      ]
    },
    "countryCodes": [
      "example"
    ],
    "subdivisions": [
      {
        "countryCode": "example",
        "subdivisionCodes": [
          "example"
        ]
      }
    ],
    "postcodes": [
      {
        "countryCode": "example",
        "postcodes": [
          "example"
        ]
      }
    ]
  }
}
```