Update supplier product
Full replacement of editable fields. Immutable plant_id and
material_type may be omitted or echoed from the current resource.
external_id is replaced: re-sending this product’s own code
succeeds unchanged, while a code held by another active supplier product
returns 409. See External IDs.
Authorizations
Per-manufacturer API key in the X-API-Key header, format
emidat-{key_id}-{secret} where key_id is a random public handle.
Issued by an owner in the Emidat
dashboard; carries its own permission scopes, optional plant
restrictions, and optional expiry. A revoked, expired, or unknown key
returns 401. See the Authentication guide for details.
Path Parameters
UUID of the supplier product to update.
Body
Full replacement of editable fields. Every editable field is required and
overwrites the stored value. Nullable fields accept null to clear them;
hazardous_substances accepts []. The immutable identity fields may be
omitted or echoed from the current resource.
Your own code for this supplier product. Overwrites the stored code; pass
null to clear it. Must stay unique among your active supplier products —
a code held by another returns 409 (see External IDs).
"CEMENT-SUPPLIER-DE-001"
Name of the supplier product.
"Portland Cement CEM I 42.5 R"
UUID of the supplier plant. Create via POST /v2/supplier-plants. Pass null to clear.
Replaces the transport route — distances from the supplier plant to your
gate, one per modality (km). Pass null to clear.
EPD UUID linked to this supplier product. Pass null to remove.
Hazardous substances in this material, each by CAS number and mass
share. Replaces the full list; send [] for none.
Expected service life in years. Pass null to clear.
Share of secondary (recycled) content, 0–100. Pass null to clear.
Moisture content as a percentage. Pass null to clear.
Optional assertion of the resource ID. It must match the path id.
Optional assertion of the current plant. A different value returns
422.
Optional assertion of the current material type. A different value
returns 422.
- Option 1
- Option 2
Response
Updated supplier product.
Your own code for this supplier product, as provided on creation.
"Portland Cement CEM I 42.5 R"
What this supplier product is made of — an Emidat elementary or a
composite, by reference. Discriminated by category. Resolve a
composite_id with GET /v2/composites/{id}.
- Option 1
- Option 2
The plant's Emidat UUID.
UUID of the supplier plant this material is sourced from. Resolve it
with GET /v2/supplier-plants/{id}.
Transport distances from the supplier plant to your gate, one per modality (km).
Hazardous substances in this material, each by CAS number and mass share.
M, M2, M3, KG, T, L, KWH, MJ, UNIT, METRIC TON*KM "KG"
Characterized cradle-to-gate impacts of this supplier product per kg. Null until computed.
The transport portion of this product's impacts per kg. Null until computed.
Background datasets used to compute the impacts.