productBomRevisions
Retrieves the bill of materials revision history for a product.
Revisions are returned newest first. The list carries the open draft, the revision currently in effect, and every revision that has been superseded, so the whole history of a product bill of materials can be read in one call.
Business Rules
- Discarded drafts are hidden unless they are explicitly requested.
- A product has at most one draft and at most one active revision.
Error Scenarios
- **Product not found**: The specified product does not exist.
Permissions Required
Requires authentication and access to the brand that owns the product.
productBomRevisions(
includeDiscarded: Boolean = false
productId: ID!
): [BomRevision!]!
Arguments
productBomRevisions.includeDiscarded ● Boolean scalar common
Whether to include drafts that were abandoned before release.
productBomRevisions.productId ● ID! non-null scalar common
The product whose revision history should be returned.
Type
BomRevision object products
A numbered, point-in-time version of a product bill of materials.