Skip to content

Update a Packaging Unit BOM Line

Request

Updates a Packaging Unit BOM Line in the optional center scope. A valid authorization token is required.

Security
Bearer
Query
centerIdstring, (uuid)
Body
packagingBomLineIdstring or null

Specifies the packaging BOM line ID. Auto-generated in case it's left blank.

packagingUnitIdinteger, (int32)

Identifier of the packaging unit associated with this record.

packagingItemIdinteger, (int32)

Identifier of the packaging item associated with this record.

packagingItemNamestring or null

Business-facing name of the packaging item or component, such as cap, label, carton or film.

packagingItemWeightUnitstring or null

Unit of measure used for the packaging item weight.

packagingItemWeightValuenumber, (double)

Weight value of the individual packaging item or component.

directContactFlagboolean or null

Indicates whether the component is in direct contact with the product.

packagingWasteClassIdinteger or null, (int32)

Unique identifier assigned to Packaging Waste Class

useCyclestring or null

Indicates whether the component is intended for single use, reuse or another defined use cycle.

usedAndDisposedWithProductFlagboolean or null

Indicates whether the component is normally used and disposed of together with the product.

compostableboolean or null

Indicates whether the component is classified as compostable based on available material or supplier data.

colorInApplicationIdinteger or null, (int32)

Unique identifier assigned to Color In Application

coverageAreaPercentagenumber or null, (double)

Approximate percentage of the component surface covered by print, coating, label or decoration.

separateabilityTypeIdinteger or null, (int32)

Unique identifier assigned to Separateability Type

washabilityboolean or null

Auto-derived from Seperateability Type. Indicates whether print, ink, adhesive or coating can be removed through a washing process, where relevant.

printInkTypeIdinteger or null, (int32)

Unique identifier assigned to Print / Ink Type

idinteger, (int32)

Unique identifier for the record.

curl -i -X PUT \
  'https://developer.sustainabilitymaster.ai/_mock/openapi/api/EnterpriseTables/PackagingUnitBOMLine?centerId=497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "packagingBomLineId": "string",
    "packagingUnitId": 0,
    "packagingItemId": 0,
    "packagingItemName": "string",
    "packagingItemWeightUnit": "string",
    "packagingItemWeightValue": 0.1,
    "directContactFlag": true,
    "packagingWasteClassId": 0,
    "useCycle": "string",
    "usedAndDisposedWithProductFlag": true,
    "compostable": true,
    "colorInApplicationId": 0,
    "coverageAreaPercentage": 0.1,
    "separateabilityTypeId": 0,
    "washability": true,
    "printInkTypeId": 0,
    "id": 0
  }'

Responses

Successfully updated the Packaging Unit BOM Line