Skip to content

Add a new ProductGroup Record

Request

Adds a new ProductGroup record to the system based on the provided ProductGroup details.

Security
Bearer
Query
centerIdstring, (uuid)
Bodyapplication/jsonrequired

The ProductGroup payload

Array [
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."
]
curl -i -X POST \
  'https://developer.sustainabilitymaster.ai/_mock/openapi/api/EnterpriseTables/ProductGroup?centerId=497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -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."
    }
  ]'

Responses

Successfully added the ProductGroup record