PUT api/v1/accounts/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

UpdateCustomerUserDto
NameDescriptionTypeAdditional information
FirstName

string

None.

LastName

string

None.

Gender

Gender

None.

Zipcode

string

None.

BirthDate

date

None.

Email

string

None.

MobilePhone

string

None.

Dni

string

None.

DniValidated

boolean

None.

UpdateCard

boolean

None.

CardTypeCode

string

None.

SourceCode

string

None.

CardFidelizationId

string

None.

Address

string

None.

HasProgeny

boolean

None.

Annotations

string

None.

ChildBirth

date

None.

EstimatedDateOfBirth

date

None.

Request Formats

application/json, text/json

Sample:
{
  "firstName": "sample string 1",
  "lastName": "sample string 2",
  "gender": 0,
  "zipcode": "sample string 3",
  "birthDate": "2025-08-31T06:24:40.2297599+00:00",
  "email": "sample string 4",
  "mobilePhone": "sample string 5",
  "dni": "sample string 6",
  "dniValidated": true,
  "updateCard": true,
  "cardTypeCode": "sample string 9",
  "sourceCode": "sample string 10",
  "cardFidelizationId": "sample string 11",
  "address": "sample string 12",
  "hasProgeny": true,
  "annotations": "sample string 14",
  "childBirth": "2025-08-31T06:24:40.2297599+00:00",
  "estimatedDateOfBirth": "2025-08-31T06:24:40.2297599+00:00"
}

application/xml, text/xml

Sample:
<UpdateCustomerUserDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application.Services.Dtos.AccountManagement">
  <Address>sample string 12</Address>
  <Annotations>sample string 14</Annotations>
  <BirthDate>2025-08-31T06:24:40.2297599+00:00</BirthDate>
  <CardFidelizationId>sample string 11</CardFidelizationId>
  <CardTypeCode>sample string 9</CardTypeCode>
  <ChildBirth>2025-08-31T06:24:40.2297599+00:00</ChildBirth>
  <Dni>sample string 6</Dni>
  <DniValidated>true</DniValidated>
  <Email>sample string 4</Email>
  <EstimatedDateOfBirth>2025-08-31T06:24:40.2297599+00:00</EstimatedDateOfBirth>
  <FirstName>sample string 1</FirstName>
  <Gender>Male</Gender>
  <HasProgeny>true</HasProgeny>
  <LastName>sample string 2</LastName>
  <MobilePhone>sample string 5</MobilePhone>
  <SourceCode>sample string 10</SourceCode>
  <UpdateCard>true</UpdateCard>
  <Zipcode>sample string 3</Zipcode>
</UpdateCustomerUserDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.