GetCustomer Method (String, String)

Gets customer matching the criteria specified in the request.

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

public Customer GetCustomer(
	string email,
	string loyaltyCardNumber
)

Parameters

email
Type: System.String
loyaltyCardNumber
Type: System.String

Return Value

Type: Microsoft.Dynamics.Commerce.Runtime.DataModel.Customer
Customer instance, if found; otherwise null.

Community Additions

Show: