Skip to main content
PUT
Replace packaging

Authorizations

X-API-Key
string
header
required

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

id
string<uuid>
required

The instance's Emidat UUID.

Body

application/json
packaging
object[]
required

The packaging the instance adds itself, on top of its production process's packaging. Each supplier_product_id may appear at most once.

Response

The packaging the instance adds itself, after the replace.

packaging
object[]
required

The packaging the instance adds itself, on top of its production process's packaging. Each supplier_product_id may appear at most once.