Skip to main content
PUT
Replace BOM

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
bom
object[]
required

The instance's full set of components. Each (type, ref) pair may appear at most once — duplicate components are rejected (422). The order is stable across reads but is not the order you sent: compare BOMs by (type, ref), not position.

Response

The instance's BOM after the replace (the components you just wrote).

bom
object[]
required

The instance's full set of components. Each (type, ref) pair may appear at most once — duplicate components are rejected (422). The order is stable across reads but is not the order you sent: compare BOMs by (type, ref), not position.