> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.revvue.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.revvue.ai/_mcp/server.

# mutateLocations

GraphQL MUTATION

Reference: https://docs.revvue.ai/api-reference/companies-locations/mutations/mutate-locations

## GraphQL Schema

```graphql
mutation ExampleMutation($locations: [LocationInput]!) {
  mutateLocations(locations: $locations) {
    documents {
      id
      documentType
      activeState
      created
      changed
      createdBy
      changedBy
      tenantId
      companyId
      departmentId
    }
  }
}
```

## Variables

```json
{
  "locations": [
    {
      "fullOverwrite": true,
      "id": "example",
      "activeState": "ACTIVE",
      "tenantId": "example",
      "companyId": "example",
      "departmentId": "example",
      "name": "example",
      "description": "example",
      "geoLocation": {
        "region": "example",
        "country": "example",
        "countryCode": "example",
        "city": "example",
        "locationCode": "example",
        "street": "example",
        "state": "example",
        "postcode": "example",
        "coordinate": {
          "latitude": 0,
          "longitude": 0
        },
        "timeZoneId": "example"
      },
      "businessStatus": "OPERATIONAL"
    }
  ]
}
```