Skip to main content

CompositionLineUpdateInput

Input for updating a composition line with new sort_order, quantity, or optional values.

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

Fields

CompositionLineUpdateInput.id ● ID! non-null scalar

The composition line ID to update

CompositionLineUpdateInput.optional ● Boolean scalar

Whether this component is optional in the composition.

CompositionLineUpdateInput.quantity ● Int scalar

The quantity that will be used to compose the composed product.

CompositionLineUpdateInput.sortOrder ● Int scalar

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

Member Of

UpdateCompositionLinesInput input