Customers

METHOD API DESCRIPTION URL
Create

Items to be created are 1. Address 2. Customer 3. Contact 3. Customer Contact

api/Customers/Create
CreateWithAddress

Create a new customer with address info

api/Customers/CreateWithAddress
Delete

Deletes the specified identifier.

api/Customers/Delete/{id}
Get

Gets the specified identifier.

api/Customers/Get/{id}
Get

Gets this instance.

api/Customers/Get
GetAll

Gets all.

api/Customers/GetAll
GetByCorporateId

Get All the customers of a corporate

api/Customers/GetByCorporateId?corporateId={corporateId}
GetCustomer

Gets the customer.

api/Customers/GetCustomer/{id}
New

Create a new customer with address info If customer is a super customer, then reference corporate code must be a super corporate

api/Customers/New
Search

Searches the specified name.

api/Customers/Search?name={name}&code={code}&website={website}&sort={sort}&page={page}&pageSize={pageSize}&fields={fields}&corporateId={corporateId}
Update

Updates the specified model.

api/Customers/Update