Skip to content

Update an existing ProductGroup Record

Request

Update an existing ProductGroup record to the system based on the provided ProductGroup details.

Security
Bearer
Bodyapplication/jsonrequired

The ProductGroup payload

productGroupIdstring or null

Gets or sets the product group code or identifier.

Example:"PG001"
productCategoryIdstring, (uuid)required

Gets or sets the unique identifier of the associated product category.

Example:"8c9a3f9e-0f9a-4b4c-b9c2-123456789abc"
namestring, non-emptyrequired

Gets or sets the name of the product group.

Example:"Mobile Devices"
descriptionstring or null

Gets or sets the description of the product group.

Example:"Includes smartphones, tablets, and accessories."
guidstring, (uuid)

Gets or sets the globally unique identifier of the product group.

Example:"3fa85f64-5717-4562-b3fc-2c963f66afa6"
curl -i -X PUT \
  https://developer.sustainabilitymaster.ai/_mock/openapi/api/EnterpriseTables/ProductGroup \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "productGroupId": "PG001",
    "productCategoryId": "8c9a3f9e-0f9a-4b4c-b9c2-123456789abc",
    "name": "Mobile Devices",
    "description": "Includes smartphones, tablets, and accessories.",
    "guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
  }'

Responses

Successfully added the ProductGroup record