products/<gtin>/recyclability/ page, which
lists each packaging element with its assessment.
When to use
- A brand owner needs to record how recyclable each packaging element is, from a recycling label (How2Recycle, OPRL and the like) or the brand’s own recycling guidance.
manage-product-packaging.
Auth
X-API-Key header or OAuth token. The caller must be a member of the product’s
organization with the contribute role (Editor or Manager); a read-only key is refused
with 403. Packaging the caller cannot see, or that another organization owns, answers
404.
Flow
- List — list the product’s packaging elements, then its assessments
(
?gtin=filters both). An element with no assessment is the gap to fill. - Create — the body names the element with
packaging_id; fields are listed in the OpenAPI document at/sustainability/api/v1/openapi.json. Returns201, or409if the element already has an assessment:PATCHthat one instead. - Update —
PATCHonly the fields to change;nullclears an optional field. The packaging element cannot change: delete and recreate to move an assessment. - Delete — removes one assessment.
- Read back — every write returns the saved row;
GETthe list again to confirm it shows the change.
403 for a read-only key, 404 for a row the caller cannot see, 409 for a
second assessment of one element, 422 for an invalid value.
Notes
API writes go through the audited@org_action sustainability record services. Fields a
brand can write are defined once on the model (RecyclabilityInfo.BRAND_EDITABLE_FIELDS),
which the dashboard form also uses.