OrderAddVariant Method (String, String)A Sandcastle Documented Class Library
Adds an order line for the specified variant and returns the new order line. The variant will be explicitly coupled to a specified product.

Namespace:  Apptus.ESales.Connector
Assembly:  Apptus.Esales.ConnectorApi (in Apptus.Esales.ConnectorApi.dll) Version: 4.3.0
Syntax

C#
public OrderLine AddVariant(
	string productKey,
	string variantKey
)

Parameters

productKey
Type: SystemString
The key of the product to which the variant belongs.
variantKey
Type: SystemString
The key of the purchased variant.

Return Value

Type: OrderLine
The added order line.
See Also

Reference