POST api/EverReady/UpdateCustomer

Update customer method.

!!! Requires Authorization! !!!

Request Information

URI Parameters

None.

Body Parameters

The customer object.

CustomerViewModel
NameDescriptionTypeAdditional information
id

Unique identifier of customer

globally unique identifier

None.

firstName

Gets or sets the customer first name

string

None.

lastName

Gets or sets the customer last name

string

None.

email

Gets or sets the customer email

string

None.

phone

Gets or sets the customer phone

string

None.

mobilePhone

Gets or sets the customer mobile phone

string

None.

title

Gets or sets the customer title

string

None.

ownerId

Gets or sets the user owning the customer if any

globally unique identifier

None.

countryRef

Gets or sets the customer country reference

string

None.

companyId

Gets or sets company identificator (GUID)

string

None.

createdDate

Gets or sets created date of the customer

date

None.

lastModifiedDate

Gets or sets last modified date of the customer

date

None.

deletedDate

Gets or sets deleted date of the customer

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "5535f9ea-654f-4ccb-902d-30d110e22872",
  "firstName": "sample string 2",
  "lastName": "sample string 3",
  "email": "sample string 4",
  "phone": "sample string 5",
  "mobilePhone": "sample string 6",
  "title": "sample string 7",
  "ownerId": "91b7a1e9-688b-4df1-b0ad-d6d7cefbefe5",
  "countryRef": "sample string 9",
  "companyId": "sample string 10",
  "createdDate": "2026-01-09T22:09:19.2341614+00:00",
  "lastModifiedDate": "2026-01-09T22:09:19.2341614+00:00",
  "deletedDate": "2026-01-09T22:09:19.2341614+00:00"
}

application/xml, text/xml

Sample:
<CustomerViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TalentDesk.WebApi.Models.EverReady">
  <companyId>sample string 10</companyId>
  <countryRef>sample string 9</countryRef>
  <createdDate>2026-01-09T22:09:19.2341614+00:00</createdDate>
  <deletedDate>2026-01-09T22:09:19.2341614+00:00</deletedDate>
  <email>sample string 4</email>
  <firstName>sample string 2</firstName>
  <id>5535f9ea-654f-4ccb-902d-30d110e22872</id>
  <lastModifiedDate>2026-01-09T22:09:19.2341614+00:00</lastModifiedDate>
  <lastName>sample string 3</lastName>
  <mobilePhone>sample string 6</mobilePhone>
  <ownerId>91b7a1e9-688b-4df1-b0ad-d6d7cefbefe5</ownerId>
  <phone>sample string 5</phone>
  <title>sample string 7</title>
</CustomerViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage.

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.