Skip to content

Update an existing ProductCategory Record

Request

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

Security
Bearer
Bodyapplication/jsonrequired

The ProductCategory payload

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."
guidstring, (uuid)required

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

Example:"3fa85f64-5717-4562-b3fc-2c963f66afa6"
curl -i -X PUT \
  https://developer.sustainabilitymaster.ai/_mock/openapi/api/EnterpriseTables/ProductCategory \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "productCategoryId": "PCAT-001",
    "name": "Electronics",
    "description": "Category containing electronic products and accessories.",
    "guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
  }'

Responses

Successfully added the ProductCategory record