UpdateCartLineShippingAddress Method

Updates the cart lines shipping address.

Namespace:  Microsoft.Dynamics.Commerce.Runtime.Client
Assembly:  Microsoft.Dynamics.Commerce.Runtime.Client (in Microsoft.Dynamics.Commerce.Runtime.Client.dll)

public Cart UpdateCartLineShippingAddress(
	string cartId,
	string customerAccountNumber,
	IEnumerable<CartLine> cartLines,
	CalculationModes modes
)

Return Value

Type: Microsoft.Dynamics.Commerce.Runtime.DataModel.Cart
The updated cart.

This method clears the delivery mode and shipping address from the cart.

Community Additions

Show: