---
title: "Update Product Group"
method: PUT
path: "/v1/productGroups/{ProductGroupID}"
tags: ["Product Groups"]
---

# Update Product Group

`PUT /v1/productGroups/{ProductGroupID}`

## Request

- Base URL: `https://example.com:443`
- URL: `https://example.com:443/v1/productGroups/{ProductGroupID}`
- Auth: none required
- TypeScript: <https://skmtc.dev/nayax/apis/nayax-cortina-api/docs/v1/productGroups/:ProductGroupID/put.ts> (a function with typed inputs; its response is checked against the schema)

Updates the details of a specific product group identified by the ProductGroupID. The request body should include the updated information such as the product group name, code, and category.

## Path parameters

- `ProductGroupID` integer, required

## Request body

- ProductGroupUpdateRequest
  - `ProductGroupName` string, nullable: The updated name of the product group.
  - `ProductGroupCode` integer, nullable: The updated code associated with the product group.
  - `ProductGroupSubCode` integer, nullable: The updated sub-code associated with the product group.
  - `ProductGroupCategoryCode` string, nullable: The updated category code associated with the product group.

## Response `200`

The updated details of the specified product group.

- ProductGroup
  - `ProductGroupRef` string, nullable: A reference identifier for the product group.
  - `ActorRef` string, nullable: A reference identifier for the actor associated with the product group.
  - `ProductGroupID` integer, nullable: The unique identifier of the product group.
  - `ActorID` integer, nullable: The unique identifier of the actor associated with the product group.
  - `ProductGroupName` string, nullable: The name of the product group.
  - `ProductGroupCode` integer, nullable: The code associated with the product group.
  - `ProductGroupSubCode` integer, nullable: A sub-code associated with the product group for further categorization.
  - `ProductGroupCreatedBy` integer, nullable: The identifier of the user who created the product group.
  - `ProductGroupCreationDate` string, date-time, nullable: The date and time when the product group was created.
  - `ProductGroupUpdatedBy` integer, nullable: The identifier of the user who last updated the product group.
  - `ProductGroupLastUpdated` string, date-time, nullable: The date and time when the product group was last updated.
  - `ProductGroupPictureURL` string, nullable: The URL of the picture associated with the product group.
  - `ProductGroupCategoryCode` string, nullable: The category code associated with the product group.

---

[API](https://skmtc.dev/nayax/apis/nayax-cortina-api.md) - [All operations](https://skmtc.dev/nayax/apis/nayax-cortina-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nayax/apis/nayax-cortina-api/revisions/421f6f83c257?raw)
