Skip to main content
Early Access - The Dcycle CLI is currently available for enterprise customers. Contact us to learn more about access.

Overview

The ppwr packaging-unit command manages PPWR packaging units — the containers, boxes, films, and other packaging assessed under Regulation (EU) 2025/40. Each packaging unit belongs to a project, can cover one or more SKUs via its sku sub-command, and can be assigned to an organization supplier via its supplier sub-command.

Available Commands

Aliases: dcy ppwr packaging-units, dcy ppwr pkg-unit.

List Packaging Units

Examples

Flags

Output

Columns: ID, name, packaging type/PPWR category, SKU count, status.

Show Packaging Unit Details

Examples

Flags

Output


Create Packaging Unit

Examples

Flags


Edit Packaging Unit

Examples

Flags

Accepts the same flags as create (all optional — only provided fields are updated), plus:

Delete Packaging Unit

Cascades to the unit’s BOM items, substances, and SKUs.

Examples

Flags

Output


Packaging Unit SKUs

SKUs track the specific product references covered by a packaging unit’s declaration of conformity.

List SKUs

Output:

Add a SKU

Edit a SKU

Accepts the same flags as sku add (all optional — only provided fields are updated).

Delete a SKU


Packaging Unit Supplier Assignment

Each packaging unit can be assigned to at most one organization supplier — the platform enforces this with a database-level constraint, so assigning a unit already held by another supplier fails with a 409 instead of silently reassigning it. add and remove are additive/subtractive: they read the supplier’s current assignments, merge in your change, and write back the full set — they never drop unrelated assignments.
There’s no additive backend endpoint, so add/remove do a read-then-write. Running them concurrently against the same supplier (from two terminals, a script, and the UI at once, etc.) can silently lose one of the changes — last write wins. Fine for normal one-at-a-time admin use.

List Assignments

Output:
assignment is the id of the supplier↔packaging-unit link itself, not the supplier or packaging unit id.

Assign Packaging Units to a Supplier

If a unit is already assigned to a different supplier, the command fails:
Unassign it from the other supplier first with supplier remove.

Unassign Packaging Units from a Supplier

If a given unit wasn’t actually assigned to this supplier, the command prints a warning to stderr (... was not assigned to this supplier, nothing to remove) instead of failing — useful when scripting idempotent cleanup.

Common Options

All PPWR commands support:

Workflows

Set Up a New Packaging Unit

Piping with jq