> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# UpdateProductGroups

> Update the properties of product groups.

If a request with this mutation's Idempotency-Key was already completed, the response's `extensions` contains an `idempotency.{responseName}` entry with `wasReplayed: true`.



**mutation** `UpdateProductGroups(request: UpdateProductGroupsCommandRequestInput!): Boolean!`

## Arguments

**`request`**: `UpdateProductGroupsCommandRequestInput!` (required)

## Returns

`Boolean!`

## Examples

```graphql Mutation
mutation UpdateProductGroups($request: UpdateProductGroupsCommandRequestInput!) {
  UpdateProductGroups(request: $request)
}
```

```json Variables
{
  "request": {
    "productGroups": [
      {
        "id": "id",
        "name": "string"
      }
    ]
  }
}
```

```json Response
{
  "data": {
    "UpdateProductGroups": true
  }
}
```
