Search for customers [Obsolete("Use SearchCustomer2")]

See SearchCustomer2 for details. SearchCustomer calls SearchCustomer2 with showInactive as false.

Request
query Parameters
searchString
required
string

The actual search string. Must be at least 2 characters.

companyId
string

If supplied, only customers for that company are returned.

sort
string

Sort order as formatted [Property] [Asc/Desc] with comma as separator. Sample: LastName, FirstName, which is the default.

size
string

Number of items to display. Default is 50.

expand
string

An expand option that specifies what expansions should be made on the Customer entity. Valid values are: None, Account, Flags, Info, Addresses and PriceLists. These can be comma separated. Use Full for all but PriceLists. Default is Full. None will return just the Customer without expansions.

cultureCode
string

Specifies in which language to display culture specific information. If none is supplied, value is resolved from Application.

Responses
200

Success

500

Internal Server Error

get/CustomerService.svc/rest/SearchCustomer
Response samples
[
  • {
    }
]