Skip to main content

bomVersions

Requires permission biddesk:assembly:read.

An assembly's bill-of-materials versions, newest first, without lines. Requires Bid Desk with engineered products and permission to read assemblies.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query BomVersions($assemblyProductId: ID!) {
bomVersions(assemblyProductId: $assemblyProductId) {
id
status
createdAt
assemblyProductId
note
obsoletedAt
}
}

Variables:

{
"assemblyProductId": "id"
}

Response:

{
"data": {
"bomVersions": [
{
"id": "id",
"status": "DRAFT",
"createdAt": "2025-01-15T00:00:00Z",
"assemblyProductId": "id",
"note": "string",
"obsoletedAt": "2025-01-15T00:00:00Z"
}
]
}
}
bomVersions(
assemblyProductId: ID!
): [BomVersion!]!

Arguments​

bomVersions.assemblyProductId ● ID! non-null scalar​

The assembly product.

Type​

BomVersion object​

One numbered version of an assembly's bill of materials. Only a DRAFT can be changed; RELEASED and OBSOLETE versions are fixed.