Skip to content

Update Packaging Unit dimension values

Request

Updates existing Packaging Unit dimension values.

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

Identifier of the packaging unit associated with this record.

packagingUnitNamestring or null

Name used by the business to identify this packaging unit, for example “Retail pouch 500g” or “Transport carton 12-pack”.

packagingUnitDescriptionstring or null

Short explanation of what the packaging unit is and how it is used.

packagingLayerstring or null

Indicates where the packaging sits in the packaging hierarchy, such as primary, secondary, grouped, transport or e-commerce packaging.

packagingComponentIdinteger or null, (int32)

Unique identifier assigned to Packaging Component

packagingSpecificContextIdinteger or null, (int32)

Unique identifier assigned to Packaging Specific Context

recyclingIdentificationCodestring or null

Material identification code printed on or assigned to the component, where available.

skuIdstring or null, (uuid)

Identifier of the SKU associated with the record.

ownBrandIdinteger or null, (int32)

Unique identifier assigned to the own brand. If not provided, the system should generate one.

ownBrandFlagboolean or null

Inherited via SKU - Brand mapping.Indicates whether this packaging unit is used under an own brand. Use Yes when an own brand applies and No when no own brand applies.

contactSensitivityCategoryIdinteger or null, (int32)

Unique identifier assigned to Contact Sensitivity Category

contactSensitiveProductboolean or null

System derived value; Indicates whether the packaging is used in a context where contact with the product is sensitive, such as food, cosmetics or other controlled product types.

unprocessedFreshFruitVegetableFlagboolean or null

Indicates whether this packaging unit is used for unprocessed fresh fruit or vegetables.

looseFoodFlagboolean or null

Indicates whether this packaging unit is used for loose food that is packed, served or sold without a pre-packed product unit.

refillReuseSystemStatusstring or null

Indicates whether the packaging unit is part of a refill or reuse system, or whether it is used once.

filledProductNetWeightValueKgnumber or null, (double)

Net weight of the product inside the packaging unit, expressed in kilograms.

totalUnitWeightValuenumber or null, (double)

Total weight of the empty packaging unit, including all parts or components.

totalUnitWeightUnitstring or null

Unit of measure used for the total packaging unit weight, for example grams, kilograms or tonnes.

companyIdinteger or null, (int32)

Identifier of the company associated with the record.

idinteger, (int32)

Unique identifier for the record.

curl -i -X PUT \
  'https://developer.sustainabilitymaster.ai/_mock/openapi/api/EnterpriseTables/PackagingUnit?centerId=497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "packagingUnitId": "string",
    "packagingUnitName": "string",
    "packagingUnitDescription": "string",
    "packagingLayer": "string",
    "packagingComponentId": 0,
    "packagingSpecificContextId": 0,
    "recyclingIdentificationCode": "string",
    "skuId": "2bcbd0a6-4310-4da5-a343-901759bbc881",
    "ownBrandId": 0,
    "ownBrandFlag": true,
    "contactSensitivityCategoryId": 0,
    "contactSensitiveProduct": true,
    "unprocessedFreshFruitVegetableFlag": true,
    "looseFoodFlag": true,
    "refillReuseSystemStatus": "string",
    "filledProductNetWeightValueKg": 0.1,
    "totalUnitWeightValue": 0.1,
    "totalUnitWeightUnit": "string",
    "companyId": 0,
    "id": 0
  }'

Responses

Successfully updated Packaging Unit values

Bodyapplication/json
packagingUnitIdstring or null

Identifier of the packaging unit associated with this record.

packagingUnitNamestring or null

Name used by the business to identify this packaging unit, for example “Retail pouch 500g” or “Transport carton 12-pack”.

packagingUnitDescriptionstring or null

Short explanation of what the packaging unit is and how it is used.

packagingLayerstring or null

Indicates where the packaging sits in the packaging hierarchy, such as primary, secondary, grouped, transport or e-commerce packaging.

packagingComponentIdinteger or null, (int32)

Unique identifier assigned to Packaging Component

packagingSpecificContextIdinteger or null, (int32)

Unique identifier assigned to Packaging Specific Context

recyclingIdentificationCodestring or null

Material identification code printed on or assigned to the component, where available.

skuIdstring or null, (uuid)

Identifier of the SKU associated with the record.

ownBrandIdinteger or null, (int32)

Unique identifier assigned to the own brand. If not provided, the system should generate one.

ownBrandFlagboolean or null

Inherited via SKU - Brand mapping.Indicates whether this packaging unit is used under an own brand. Use Yes when an own brand applies and No when no own brand applies.

contactSensitivityCategoryIdinteger or null, (int32)

Unique identifier assigned to Contact Sensitivity Category

contactSensitiveProductboolean or null

System derived value; Indicates whether the packaging is used in a context where contact with the product is sensitive, such as food, cosmetics or other controlled product types.

unprocessedFreshFruitVegetableFlagboolean or null

Indicates whether this packaging unit is used for unprocessed fresh fruit or vegetables.

looseFoodFlagboolean or null

Indicates whether this packaging unit is used for loose food that is packed, served or sold without a pre-packed product unit.

refillReuseSystemStatusstring or null

Indicates whether the packaging unit is part of a refill or reuse system, or whether it is used once.

filledProductNetWeightValueKgnumber or null, (double)

Net weight of the product inside the packaging unit, expressed in kilograms.

totalUnitWeightValuenumber or null, (double)

Total weight of the empty packaging unit, including all parts or components.

totalUnitWeightUnitstring or null

Unit of measure used for the total packaging unit weight, for example grams, kilograms or tonnes.

companyIdinteger or null, (int32)

Identifier of the company associated with the record.

idinteger, (int32)

Unique identifier for the record.

Response
{ "packagingUnitId": "string", "packagingUnitName": "string", "packagingUnitDescription": "string", "packagingLayer": "string", "packagingComponentId": 0, "packagingSpecificContextId": 0, "recyclingIdentificationCode": "string", "skuId": "2bcbd0a6-4310-4da5-a343-901759bbc881", "ownBrandId": 0, "ownBrandFlag": true, "contactSensitivityCategoryId": 0, "contactSensitiveProduct": true, "unprocessedFreshFruitVegetableFlag": true, "looseFoodFlag": true, "refillReuseSystemStatus": "string", "filledProductNetWeightValueKg": 0.1, "totalUnitWeightValue": 0.1, "totalUnitWeightUnit": "string", "companyId": 0, "id": 0 }