Adds a new Product record to the system based on the provided Product details.
The Product payload
Gets or sets the unique identifier of the product outflow record.
Company identifier associated with the product. Retrieve it from the Company GET API and use the ID value returned in the response.
Business unit identifier associated with the product. Retrieve it from the BusinessUnit GET API and use the ID value returned in the response.
Product category identifier. Retrieve it from the ProductCategory/Paged endpoint (POST) and use the product category ID value returned in the response.
Product group identifier. Retrieve it from the ProductGroup/Paged endpoint (POST) and use the product group ID value returned in the response.
Product type identifier. Retrieve it from the ProductType/Paged endpoint (POST) and use the product type ID value returned in the response.
- Mock serverhttps://developer.sustainabilitymaster.ai/_mock/openapi/api/EnterpriseTables/Product
- https://developer.sustainabilitymaster.ai/apiportalhttps://developer.sustainabilitymaster.ai/apiportal/api/EnterpriseTables/Product
curl -i -X POST \
'https://developer.sustainabilitymaster.ai/_mock/openapi/api/EnterpriseTables/Product?centerId=497f6eca-6276-4993-bfeb-53cbbbba6f08' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '[
{
"id": "6fa85f64-5717-4562-b3fc-2c963f66afa6",
"productId": "PRD001",
"name": "Laptop Model X",
"companyId": 101,
"companyName": "ABC Manufacturing Pvt Ltd",
"businessUnitId": 10,
"businessUnitName": "Electronics Division",
"productCategoryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"productCategoryName": "Electronics",
"productGroupId": "4ab12f64-1234-4562-b3fc-2c963f66abcd",
"productGroupName": "Consumer Devices",
"productTypeId": "9cd85f64-2222-4562-b3fc-2c963f66eeee",
"productTypeName": "Laptops",
"productDescription": "High-performance business laptop with 16GB RAM and 512GB SSD."
}
]'