Skip to main content

bomVersion

Requires permission biddesk:assembly:read.

One bill-of-materials version with its lines, or null. 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 BomVersion($id: ID!) {
bomVersion(id: $id) {
id
status
createdAt
assemblyProductId
note
obsoletedAt
lines {
id
findNumber
alternateProductIds
bomVersionId
componentProductId
drawingRef
}
}
}

Variables:

{
"id": "id"
}

Response:

{
"data": {
"bomVersion": {
"id": "id",
"status": "DRAFT",
"createdAt": "2025-01-15T00:00:00Z",
"assemblyProductId": "id",
"note": "string",
"obsoletedAt": "2025-01-15T00:00:00Z",
"lines": [
{
"id": "id",
"findNumber": "string",
"alternateProductIds": [
"id"
],
"bomVersionId": "id",
"componentProductId": "id",
"drawingRef": "string"
}
]
}
}
}
bomVersion(
id: ID!
): BomVersionWithLines

Arguments​

bomVersion.id ● ID! non-null scalar​

The version's id.

Type​

BomVersionWithLines object​

A bill-of-materials version with its live lines.