---
updatedAt: 2026-05-28T22:55:39.000Z
agentTools:
  projectIndex: https://docs.constructor.com/llms.txt
---

# Create or update item group (Deprecated)

**🔐 This endpoint requires [HTTP authentication](https://docs.constructor.com/reference/main-authentication) (either [Basic](https://docs.constructor.com/reference/main-authentication#basic-authentication) or [Bearer](https://docs.constructor.com/reference/main-authentication#bearer-authentication)).**
For authenticating with Bearer token, required scopes are: `catalog(w)`.

Create or update an item group.

**Related content**

* [Authentication](https://docs.constructor.com/reference/authentication)

***

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "contact": {
      "email": "support@constructor.io"
    },
    "title": "Catalog management",
    "version": "0.1"
  },
  "servers": [
    {
      "url": "https://ac.cnstrc.com"
    }
  ],
  "security": [],
  "tags": [
    {
      "name": "Item groups"
    }
  ],
  "paths": {
    "/v1/item_groups/{group_id}": {
      "put": {
        "deprecated": true,
        "tags": [
          "Item groups"
        ],
        "operationId": "v1-item-groups-create-or-update-item-group",
        "summary": "Create or update item group (Deprecated)",
        "description": "**🔐 This endpoint requires [HTTP authentication](https://docs.constructor.com/reference/main-authentication) (either [Basic](https://docs.constructor.com/reference/main-authentication#basic-authentication) or [Bearer](https://docs.constructor.com/reference/main-authentication#bearer-authentication)).**\nFor authenticating with Bearer token, required scopes are: `catalog(w)`.\n\nCreate or update an item group.",
        "parameters": [
          {
            "name": "group_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "query",
            "schema": {
              "title": "Key",
              "description": "The key of the index to use.",
              "maxLength": 100,
              "minLength": 1,
              "examples": [
                "key_K2pX7vBnU0bgA5xp"
              ],
              "type": "string"
            },
            "required": true
          },
          {
            "name": "section",
            "in": "query",
            "schema": {
              "title": "Section",
              "description": "The section of the index to use. Defaults to `Products`.",
              "maxLength": 100,
              "minLength": 1,
              "examples": [
                "Products",
                "Search Suggestions"
              ],
              "type": "string"
            },
            "required": false
          },
          {
            "name": "c",
            "in": "query",
            "schema": {
              "title": "Client ID",
              "description": "The ID of the client and version that the request is coming from, such as `cio-js-2.90`.",
              "maxLength": 100,
              "minLength": 1,
              "examples": [
                "cio-js-2.90",
                "cio-ios-1.0"
              ],
              "type": "string"
            },
            "required": false
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ItemGroupPutRequestBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ItemGroupPutResponse"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ItemGroupPutResponse"
                }
              }
            }
          },
          "400": {
            "description": "Validation Error"
          },
          "401": {
            "description": "Credentials are not passed or action is forbidden."
          },
          "403": {
            "description": "The supplied token does not have the required permissions."
          },
          "404": {
            "description": "Not Found"
          },
          "429": {
            "description": "Rate limit breached"
          }
        },
        "security": [
          {
            "http_basic_auth": []
          },
          {
            "http_bearer_auth": [
              "catalog(w)"
            ]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "ItemGroupPutRequestBody": {
        "title": "ItemGroupPutRequestBody",
        "type": "object",
        "properties": {
          "data": {
            "title": "Data",
            "description": "Object containing additional data, that should be attached to this item group. The maximum size of data object is limited to 5kb. The average size of data objects for all ingested item groups should not exceed 1kb.",
            "type": "object"
          },
          "name": {
            "title": "Name",
            "description": "Item group display name.",
            "examples": [
              "Electronics",
              "Men's Clothing"
            ],
            "minLength": 1,
            "maxLength": 500,
            "type": "string"
          },
          "parent_id": {
            "title": "Parent Id",
            "description": "Parent item group ID or null for root item groups.",
            "examples": [
              "parent-group-1",
              "root-category"
            ],
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ItemGroupPutResponse": {
        "title": "ItemGroupPutResponse",
        "type": "object",
        "properties": {
          "data": {
            "title": "Data",
            "description": "Object containing additional data, that should be attached to this item group. The maximum size of data object is limited to 5kb. The average size of data objects for all ingested item groups should not exceed 1kb.",
            "type": "object"
          },
          "id": {
            "title": "Id",
            "description": "ID of the item group.",
            "examples": [
              "category-electronics",
              "group-123"
            ],
            "minLength": 1,
            "maxLength": 200,
            "type": "string"
          },
          "name": {
            "title": "Name",
            "description": "Item group display name.",
            "examples": [
              "Electronics",
              "Men's Clothing"
            ],
            "minLength": 1,
            "maxLength": 500,
            "type": "string"
          },
          "parent_id": {
            "title": "Parent Id",
            "description": "Parent item group ID or null for root item groups.",
            "type": "string"
          },
          "path_list": {
            "title": "Path List",
            "description": "A list of item group IDs in the hierarchy.",
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "path": {
            "title": "Path",
            "description": "Path to a item group IDs in the hierarchy (forward slash-separated).",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "path_list",
          "path"
        ],
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "http_basic_auth": {
        "type": "http",
        "scheme": "basic"
      },
      "http_bearer_auth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false
  }
}
```