Skip to main content

assemblyStandardCostHistory

Requires permission biddesk:assembly:read.

The assembly's standard-cost snapshots across its versions, newest first. 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 AssemblyStandardCostHistory($assemblyProductId: ID!) {
assemblyStandardCostHistory(assemblyProductId: $assemblyProductId) {
id
status
assemblyProductId
bomVersionId
buckets
computedAt
}
}

Variables:

{
"assemblyProductId": "id"
}

Response:

{
"data": {
"assemblyStandardCostHistory": [
{
"id": "id",
"status": "COMPLETE",
"assemblyProductId": "id",
"bomVersionId": "id",
"buckets": {},
"computedAt": "2025-01-15T00:00:00Z"
}
]
}
}
assemblyStandardCostHistory(
assemblyProductId: ID!
take: Int
): [AssemblyStandardCost!]!

Arguments​

assemblyStandardCostHistory.assemblyProductId ● ID! non-null scalar​

The assembly product.

assemblyStandardCostHistory.take ● Int scalar​

How many snapshots (1 to 50; default 20).

Type​

AssemblyStandardCost object​

The per-unit standard cost of a released assembly version: a dated snapshot rolled up with the bid roll-up over the default-option structure. Totals, buckets, sources and the move are null for a caller without permission to view costs.