Skip to main content
PUT
/
v1
/
productGroups
/
{ProductGroupID}
Update Product Group
curl --request PUT \
  --url https://qa-lynx.nayax.com/operational/v1/productGroups/{ProductGroupID} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ProductGroupName": "<string>",
  "ProductGroupCode": 123,
  "ProductGroupSubCode": 123,
  "ProductGroupCategoryCode": "<string>"
}
'
{
  "ProductGroupRef": "<string>",
  "ActorRef": "<string>",
  "ProductGroupID": 123,
  "ActorID": 123,
  "ProductGroupName": "<string>",
  "ProductGroupCode": 123,
  "ProductGroupSubCode": 123,
  "ProductGroupCreatedBy": 123,
  "ProductGroupCreationDate": "2023-11-07T05:31:56Z",
  "ProductGroupUpdatedBy": 123,
  "ProductGroupLastUpdated": "2023-11-07T05:31:56Z",
  "ProductGroupPictureURL": "<string>",
  "ProductGroupCategoryCode": "<string>"
}

Authorizations

Authorization
string
header
required

Enter your API key. It's required to authenticate API requests.

Path Parameters

ProductGroupID
integer<int32>
required

The unique identifier of the product group.

Body

application/json
ProductGroupName
string | null

The updated name of the product group.

ProductGroupCode
integer<int64> | null

The updated code associated with the product group.

ProductGroupSubCode
integer<int64> | null

The updated sub-code associated with the product group.

ProductGroupCategoryCode
string | null

The updated category code associated with the product group.

Response

200 - application/json

The updated details of the specified product group.

ProductGroupRef
string | null

A reference identifier for the product group.

ActorRef
string | null

A reference identifier for the actor associated with the product group.

ProductGroupID
integer<int32> | null

The unique identifier of the product group.

ActorID
integer<int64> | null

The unique identifier of the actor associated with the product group.

ProductGroupName
string | null

The name of the product group.

ProductGroupCode
integer<int64> | null

The code associated with the product group.

ProductGroupSubCode
integer<int64> | null

A sub-code associated with the product group for further categorization.

ProductGroupCreatedBy
integer<int64> | null

The identifier of the user who created the product group.

ProductGroupCreationDate
string<date-time> | null

The date and time when the product group was created.

ProductGroupUpdatedBy
integer<int64> | null

The identifier of the user who last updated the product group.

ProductGroupLastUpdated
string<date-time> | null

The date and time when the product group was last updated.

ProductGroupPictureURL
string | null

The URL of the picture associated with the product group.

ProductGroupCategoryCode
string | null

The category code associated with the product group.