Adds a new StockKeepingUnit record to the system based on the provided StockKeepingUnit details.
The StockKeepingUnit payload
Gets or sets the unique identifier of the SKU.
Identifier of the product associated with the SKU. Retrieve it from the Product/Paged endpoint (POST) and use the product ID value returned in the response.
Company identifier associated with the SKU. Retrieve it from the Company GET API and use the ID value returned in the response.
Gets or sets the name of the company associated with the SKU.
Business unit identifier associated with the SKU. Retrieve it from the BusinessUnit GET API and use the ID value returned in the response.
Gets or sets the name of the business unit associated with the SKU.
Country of origin identifier of the SKU. Retrieve it from the Country GET API and use the ID value returned in the response.
Country of origin name of the SKU. Retrieve it from the Country GET API and use the name value returned in the response.
Gets or sets the unit size specification.
Gets or sets the SKU description.
HSN code identifier. Retrieve it from the HSN Commodity GET API and use the ID value returned in the response.
Gets or sets the HSN name.
Classification standard identifier. Retrieve it from the ClassificationStandard GET API and use the ID value returned in the response.
Sub-classification type identifier. Retrieve it from the SubClassificationType GET API and use the ID value returned in the response.
Gets or sets the sub-classification type name.
Gets or sets whether the product is repairable.
Gets or sets whether the product is disassemblable.
Gets or sets whether the product is remanufacturable.
Gets or sets whether the product is refurbishable.
Gets or sets whether the product is recyclable.
Gets or sets the recycled content rate percentage.
Gets or sets the unit of SoC/SVHC name.
- Mock serverhttps://developer.sustainabilitymaster.ai/_mock/openapi/api/EnterpriseTables/StockKeepingUnit
- https://developer.sustainabilitymaster.ai/apiportalhttps://developer.sustainabilitymaster.ai/apiportal/api/EnterpriseTables/StockKeepingUnit
curl -i -X POST \
'https://developer.sustainabilitymaster.ai/_mock/openapi/api/EnterpriseTables/StockKeepingUnit?centerId=497f6eca-6276-4993-bfeb-53cbbbba6f08' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '[
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"skuid": "SKU001",
"productId": "9fa85f64-5717-4562-b3fc-2c963f66abcd",
"productName": "Laptop Model X",
"companyId": 101,
"companyName": "ABC Corporation",
"businessUnitId": 101,
"businessUnitName": "Consumer Electronics",
"name": "Laptop Model X - 16GB",
"countryOfOriginId": 110,
"countryOfOriginName": "Albania",
"unit": "Piece",
"unitSize": "[Grams, Kgs, Litres, Piece, Bottle, Box, Case, Pallet, Bag, Tonnes, M3]",
"unitInKgs": 1.25,
"description": "Business laptop with extended warranty.",
"hsncodeId": "2fa85f64-5717-4562-b3fc-2c963f66eeee",
"hsnCode": "1001.91",
"hsnName": "Cereals; wheat and meslin, other than durum wheat, seed",
"eudrCommodity": true,
"eudrCommodityGroup": "Wood Products",
"classificationStandardId": 1,
"classificationStandardName": "1",
"mainClassification": "[GPC,UNSPC,Custom]",
"subClassificationTypeId": 5,
"subClassificationTypeName": "[Family,Class,Brick,AttributeCode,AttributeValue,Family,Class,Commodity]",
"subClassification": "Metal Components",
"circularityTypeDurable": true,
"circularityTypeReusable": true,
"circularityTypeRepairable": false,
"circularityTypeDisassemblable": true,
"circularityTypeRemanufacturable": false,
"circularityTypeRefurbishable": true,
"circularityTypeRecycleable": true,
"recycledContentRate": 25.5,
"recyclabilityRate": 80,
"soC": false,
"svhc": false,
"scipcas": "CAS123456",
"unitOfSoCsvhc": 2,
"unitOfSoCsvhcName": "[CC,Grams,Tonnes,Kgs,Liters,M3]",
"valueOfSoCsvhc": 0.5,
"rateOfSoCsvhc": 1.2,
"customAttributes": {
"Color": "Black",
"Warranty": "2 Years"
}
}
]'