Mutations

createConfiguration

Opens a product configuration session and returns its first evaluated state. The session settles its customer and its currency here and no later call moves them.

Opens a product configuration session and returns its first evaluated state. The session settles its customer and its currency here and no later call moves them.

createConfiguration(
  articleNumber: String
  productId: Int
  quantity: Decimal!
  channelId: String
  languageId: String
  marketId: String
): CpqConfigurationType

Arguments

articleNumber ● String scalar

The article number of the product to configure. Give this or productId, not both.

productId ● Int scalar

The Geins product id of the product to configure. Give this or articleNumber, not both.

quantity ● Decimal! non-null scalar required

How many of the configured product are being ordered

channelId ● String scalar

The channel ID. Will default to an existing value if it is not found.

languageId ● String scalar

The language ID. Will default to an existing value if it is not found.

marketId ● String scalar

The market ID. Will default to an existing value if it is not found.

Type

CpqConfigurationType object

A live product configuration session. Every call that touches it answers the whole re-evaluated state, so replace what is held rather than merging into it.