# Update item group Updates an item group by its external ID. Endpoint: PUT /v2/project/{project_id}/admin/items/groups/{external_id} Version: 2.0.0 Security: basicAuth ## Path parameters: - `project_id` (integer, required) Project ID. You can find this parameter in your Publisher Account next to the project name and in the browser address bar when working with a project. The URL has the following format: https://publisher.xsolla.com//projects/. Example: 44056 - `external_id` (string, required) External item group ID specified during creation. Example: "weapons" ## Request fields (application/json): - `description` (any) - `external_id` (string, required) Unique group external ID. Can contain only alphanumeric characters, hyphens, and underscores. Can be used to rename the group's external ID. Example: "weapons" - `iconUrl` (string,null) URL of the item group image. - `isEnabled` (boolean) Whether the item group is enabled in the catalog. - `name` (any, required) - `order` (integer) Display order of the item group in the catalog. The higher the value, the lower the group appears in the list. If the values are the same, groups are sorted by creation date, with newer groups displayed higher. ## Response 401 fields (application/json): - `errorCode` (integer) 错误代码。 - `errorMessage` (string) Short error description. - `statusCode` (integer) HTTP response status. - `transactionId` (string) Request ID. The ID used to track and associate log entries related to this specific request or operation. This ID can be helpful for troubleshooting, debugging, and auditing purposes. ## Response 404 fields (application/json): - `errorCode` (integer) 错误代码。 - `errorMessage` (string) Short error description. - `statusCode` (integer) HTTP response status. - `transactionId` (string) Request ID. The ID used to track and associate log entries related to this specific request or operation. This ID can be helpful for troubleshooting, debugging, and auditing purposes. - `errorMessageExtended` (object,null) IDs used in the failed lookup. - `errorMessageExtended.external_id_list` (array) List of group external_id used in the lookup request. - `errorMessageExtended.group_id_list` (array) List of group id used in the lookup request. - `errorMessageExtended.project_id` (integer) Project ID used in the lookup request. ## Response 422 fields (application/json): - `errorCode` (integer, required) 错误代码。 Example: 1102 - `errorMessage` (string, required) Short error description. Example: "[0401-1102]: Unprocessable Entity. The property `property_name` is required" - `errorMessageExtended` (array) Validation error details. Contains an array of property-level errors describing which fields failed validation and why. - `errorMessageExtended.message` (string) Validation error message for the field. Example: "The property external_id is required" - `errorMessageExtended.property` (string) Name of the field that failed validation. Example: "external_id" - `statusCode` (integer, required) HTTP response status. Example: 422 - `transactionId` (string, required) Request ID. The ID used to track and associate log entries related to this specific request or operation. This ID can be helpful for troubleshooting, debugging, and auditing purposes. Example: "x-x-x-x-transactionId-mock-x-x-x" ## Response 204 fields