Skip to main content

CompositionLineInput

Input for creating a composition line that defines how a component product relates to a composed product, including quantity and ordering information.

input CompositionLineInput {
componentId: ID!
id: ID
optional: Boolean
quantity: Int!
sortOrder: Int
}

Fields

CompositionLineInput.componentId ● ID! non-null scalar

The product ID that will act as a component for the composed product

CompositionLineInput.id ● ID scalar

The composition line ID

CompositionLineInput.optional ● Boolean scalar

Whether this component is optional in the composition.

CompositionLineInput.quantity ● Int! non-null scalar

The quantity that will be used to compose the composed product

CompositionLineInput.sortOrder ● Int scalar

The order in which this product will be displayed in the components list.

Member Of

AddCompositionLinesInput input