# createProductGroup

### Arguments

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

### CreateProductGroupInput Arguments

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

### 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))
