Inputs

CpqConfigurationChangeInputType

One change to apply to a configuration. Which fields carry meaning depends on the type: a variable change reads variableId and value, an option change reads optionId, instanceId, selected, quantity and lock, and a quantity change reads only quantity.

One change to apply to a configuration. Which fields carry meaning depends on the type: a variable change reads variableId and value, an option change reads optionId, instanceId, selected, quantity and lock, and a quantity change reads only quantity.

input CpqConfigurationChangeInputType {
  type: CpqConfigurationChangeType!
  variableId: String
  value: CpqValue
  optionId: String
  instanceId: String
  selected: Boolean
  lock: CpqOptionLock
  quantity: Decimal
}

Fields

type ● CpqConfigurationChangeType! non-null enum required

Which part of the configuration the change acts on

variableId ● String scalar

The variable to set, for a variable change

value ● CpqValue scalar

The value to set, for a variable change

optionId ● String scalar

The option to act on, for an option change

instanceId ● String scalar

Which copy of the option to act on, for an option change

selected ● Boolean scalar

Whether to select or deselect the option, for an option change

lock ● CpqOptionLock enum

Whether to pin the option against later rule cascades, for an option change. 'NONE' leaves an existing pin alone, which is also what omitting it does.

quantity ● Decimal scalar

On an option change the option's quantity; on a quantity change how many of the configured product are being ordered

Member Of

applyConfigurationChanges mutation