Skip to main content

compositionLines

Retrieves the composition lines (components) for a specific product.

This query returns all components that make up a product, including their relationships and metadata. Supports filtering by component properties, optional/required status, and keyword search across component names and SKUs.

Requires authentication and appropriate permissions to access the product's brand.

compositionLines(
filters: ComponentRelationFilterInput
productId: ID!
): [CompositionLine!]!

Arguments

compositionLines.filters ● ComponentRelationFilterInput input

Filtering options for component relations.

compositionLines.productId ● ID! non-null scalar

The ID of the product to retrieve components for.

Type

CompositionLine object

Represents a component relationship in a product