Update an existing BillOfMaterials record to the system based on the provided BillOfMaterials details.
Security
Bearer
The BillOfMaterials payload
Gets or sets the unique identifier of the BOM line record.
Example:"1fa85f64-5717-4562-b3fc-2c963f66aaaa"
Gets or sets the associated product identifier.
Example:"2fa85f64-5717-4562-b3fc-2c963f66bbbb"
Gets or sets the associated SKU identifier.
Example:"3fa85f64-5717-4562-b3fc-2c963f66cccc"
Gets or sets the unit of measure.
Example:"[Grams, Litres, m3, pieces]"
- Mock serverhttps://developer.sustainabilitymaster.ai/_mock/openapi/api/EnterpriseTables/BillOfMaterials
- https://developer.sustainabilitymaster.ai/apiportalhttps://developer.sustainabilitymaster.ai/apiportal/api/EnterpriseTables/BillOfMaterials
curl -i -X PUT \
https://developer.sustainabilitymaster.ai/_mock/openapi/api/EnterpriseTables/BillOfMaterials \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"id": "1fa85f64-5717-4562-b3fc-2c963f66aaaa",
"productId": "2fa85f64-5717-4562-b3fc-2c963f66bbbb",
"productName": "Laptop Model X",
"skuid": "3fa85f64-5717-4562-b3fc-2c963f66cccc",
"skuName": "Laptop Model X - 16GB Variant",
"bomtype": "[M-BOM,S-BOM]",
"bomid": "BOM001",
"bomlineId": "BOM001-L01",
"partNo": "PRT-1001",
"partName": "Battery Pack",
"newPurchasedGood": true,
"prodInflowId": 101,
"itemConfigurableId": "ITEM001",
"itemName": "Lithium Battery",
"unitOfMeasure": "[Grams, Litres, m3, pieces]",
"quantity": 2.5,
"specification": "High capacity 5000mAh"
}'