Skip to content

Add a new ProductCategory Record

Request

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

Security
Bearer
Query
centerIdstring, (uuid)
Bodyapplication/jsonrequired

The ProductCategory payload

Array [
productCategoryIdstring or null

Gets or sets the external or business identifier of the product category.

Example:"PCAT-001"
namestring, non-emptyrequired

Gets or sets the name of the product category.

Example:"Electronics"
descriptionstring or null

Gets or sets the description of the product category.

Example:"Category containing electronic products and accessories."
]
curl -i -X POST \
  'https://developer.sustainabilitymaster.ai/_mock/openapi/api/EnterpriseTables/ProductCategory?centerId=497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '[
    {
      "productCategoryId": "PCAT-001",
      "name": "Electronics",
      "description": "Category containing electronic products and accessories."
    }
  ]'

Responses

Successfully added the ProductCategory record