UpdateCartShippingAddress Method (String, String, Address, String, CalculationModes)

Updates the cart shipping address.

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

public Cart UpdateCartShippingAddress(
	string cartId,
	string customerAccountNumber,
	Address shippingAddress,
	string deliveryMode,
	CalculationModes modes
)

Return Value

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

This method clears the delivery mode, shipping address and warehouse information from the cart lines.

Community Additions

Show: