# updateProductGroup

### Arguments

| Argument                                                                                                                         | Description                       |
| -------------------------------------------------------------------------------------------------------------------------------- | --------------------------------- |
| input ([UpdateProductGroupInput](https://developer.firmhouse.com/graphql-api/api-reference/objects/update-product-group-input)!) | Parameters for UpdateProductGroup |

### UpdateProductGroupInput Arguments

| Argument                                                                                    | Description                                                                                                                                             |
| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| id ([ID](https://developer.firmhouse.com/graphql-api/api-reference/objects/id)!)            | The ID of the product group to update.                                                                                                                  |
| title ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))  | The name of the product group. Represents the parent product and groups all its variants.                                                               |
| productIds (\[[ID](https://developer.firmhouse.com/graphql-api/api-reference/objects/id)!]) | The IDs of product variants that belong to this group. Must be variants of the same parent. Passing an empty array removes all products from the group. |

### Return fields

#### errors (\[[ModelValidationError](https://developer.firmhouse.com/graphql-api/api-reference/objects/model-validation-error)!]!)

#### productGroup ([ProductGroup](https://developer.firmhouse.com/graphql-api/api-reference/objects/product-group))
