Search for customers (v2)

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.

showInactive
string

An option to show inactive customers in the result. Default value is false.

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/SearchCustomer2
Response samples
[
  • {
    }
]