PUT customer

Edits the specified customer. This method will not update the password or company.

Request Information

Parameters

NameDescriptionAdditional information
customer
The customer. 
            1) Forename: Mandatory. String, max 50 chars
            2) Surname: Mandatory. String, max 50 chars
            3) Email: Mandatory. String, max 100 chars. This customer will be edited

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Email": "sample string 1",
  "Forename": "sample string 2",
  "Surname": "sample string 3",
  "DateAdded": "2017-11-23T22:20:43.8839379+00:00",
  "Password": "sample string 5",
  "AccountNumber": "sample string 6"
}

application/xml, text/xml

Sample:
<CustomerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webi.Api2.Models">
  <AccountNumber>sample string 6</AccountNumber>
  <DateAdded>2017-11-23T22:20:43.8839379+00:00</DateAdded>
  <Email>sample string 1</Email>
  <Forename>sample string 2</Forename>
  <Password>sample string 5</Password>
  <Surname>sample string 3</Surname>
</CustomerModel>

application/x-www-form-urlencoded

Sample:

Sample not available.