PUT api/v1/extranet/customers/me?updateImage={updateImage}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
updateImage

boolean

Default value is True

Body Parameters

CustomerDto
NameDescriptionTypeAdditional information
OrganizationCode

string

None.

StoreCode

string

None.

Id

globally unique identifier

None.

Dni

string

None.

DniValidated

boolean

None.

LastName

string

None.

FirstName

string

None.

HasProgeny

boolean

None.

HasCard

boolean

None.

CardCode

string

None.

AnyOnlinePurchase

boolean

None.

AnyOfflinePurchase

boolean

None.

BirthDate

date

None.

Gender

Gender

None.

Email

string

None.

EmailStatus

EmailStatus

None.

ZipCode

string

None.

Address

string

None.

MobilePhone

string

None.

ExtraPhone

string

None.

Annotations

string

None.

HasEnabledNotifications

boolean

None.

HasAcceptedAdvertising

boolean

None.

HasAcceptedDataCession

boolean

None.

HasAcceptedBirthdayGreeting

boolean

None.

SourceCode

string

None.

IsMember

boolean

None.

Rank

string

None.

EstimatedDateOfBirth

date

None.

UrlPhoto

string

None.

PhotoBase64

string

None.

AllowsCommunications

boolean

None.

AllowsNotifications

boolean

None.

GdprDate

date

None.

IsGdprAccepted

boolean

None.

UserName

string

None.

PreferredLanguageCode

string

None.

CustomFields

Dictionary of string [key] and CustomerFieldValueDto [value]

None.

Request Formats

application/json, text/json

Sample:
{
  "organizationCode": "sample string 1",
  "storeCode": "sample string 2",
  "id": "70db96d2-fe7b-4701-96e3-28a9a96c5692",
  "dni": "sample string 3",
  "dniValidated": true,
  "lastName": "sample string 5",
  "firstName": "sample string 6",
  "hasProgeny": true,
  "hasCard": true,
  "cardCode": "sample string 8",
  "anyOnlinePurchase": true,
  "anyOfflinePurchase": true,
  "birthDate": "2026-06-04T19:00:05.9591471+00:00",
  "gender": 0,
  "email": "sample string 11",
  "emailStatus": 0,
  "zipCode": "sample string 12",
  "address": "sample string 13",
  "mobilePhone": "sample string 14",
  "extraPhone": "sample string 15",
  "annotations": "sample string 16",
  "hasEnabledNotifications": true,
  "hasAcceptedAdvertising": true,
  "hasAcceptedDataCession": true,
  "hasAcceptedBirthdayGreeting": true,
  "sourceCode": "sample string 17",
  "isMember": true,
  "rank": "sample string 19",
  "estimatedDateOfBirth": "2026-06-04T19:00:05.9591471+00:00",
  "urlPhoto": "sample string 20",
  "photoBase64": "sample string 21",
  "allowsCommunications": true,
  "allowsNotifications": true,
  "gdprDate": "2026-06-04T19:00:05.9591471+00:00",
  "isGdprAccepted": true,
  "userName": "sample string 22",
  "preferredLanguageCode": "sample string 23",
  "customFields": {
    "sample string 1": {
      "id": "23d0e1c2-2e6b-4815-8805-4e72d44f979c",
      "code": "sample string 2",
      "name": "sample string 3",
      "stringValue": "sample string 4",
      "dateTimeValue": "2026-06-04T19:00:05.9591471+00:00",
      "intValue": 1,
      "boolValue": true,
      "type": "sample string 5",
      "customerId": "06841e14-404a-4eca-90ae-12b3737ac684",
      "customerFieldId": "eccf3403-627d-406c-ba10-8b3d50ba0e71"
    },
    "sample string 2": {
      "id": "23d0e1c2-2e6b-4815-8805-4e72d44f979c",
      "code": "sample string 2",
      "name": "sample string 3",
      "stringValue": "sample string 4",
      "dateTimeValue": "2026-06-04T19:00:05.9591471+00:00",
      "intValue": 1,
      "boolValue": true,
      "type": "sample string 5",
      "customerId": "06841e14-404a-4eca-90ae-12b3737ac684",
      "customerFieldId": "eccf3403-627d-406c-ba10-8b3d50ba0e71"
    }
  }
}

application/xml, text/xml

Sample:
<CustomerDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Dtos">
  <Address>sample string 13</Address>
  <AllowsCommunications>true</AllowsCommunications>
  <AllowsNotifications>true</AllowsNotifications>
  <Annotations>sample string 16</Annotations>
  <AnyOfflinePurchase>true</AnyOfflinePurchase>
  <AnyOnlinePurchase>true</AnyOnlinePurchase>
  <BirthDate>2026-06-04T19:00:05.9591471+00:00</BirthDate>
  <CardCode>sample string 8</CardCode>
  <CustomFields xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringCustomerFieldValueDtouOHOlRpi>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>
        <BoolValue>true</BoolValue>
        <Code>sample string 2</Code>
        <CustomerFieldId>eccf3403-627d-406c-ba10-8b3d50ba0e71</CustomerFieldId>
        <CustomerId>06841e14-404a-4eca-90ae-12b3737ac684</CustomerId>
        <DateTimeValue>2026-06-04T19:00:05.9591471+00:00</DateTimeValue>
        <Id>23d0e1c2-2e6b-4815-8805-4e72d44f979c</Id>
        <IntValue>1</IntValue>
        <Name>sample string 3</Name>
        <StringValue>sample string 4</StringValue>
        <Type>sample string 5</Type>
      </d2p1:Value>
    </d2p1:KeyValueOfstringCustomerFieldValueDtouOHOlRpi>
    <d2p1:KeyValueOfstringCustomerFieldValueDtouOHOlRpi>
      <d2p1:Key>sample string 2</d2p1:Key>
      <d2p1:Value>
        <BoolValue>true</BoolValue>
        <Code>sample string 2</Code>
        <CustomerFieldId>eccf3403-627d-406c-ba10-8b3d50ba0e71</CustomerFieldId>
        <CustomerId>06841e14-404a-4eca-90ae-12b3737ac684</CustomerId>
        <DateTimeValue>2026-06-04T19:00:05.9591471+00:00</DateTimeValue>
        <Id>23d0e1c2-2e6b-4815-8805-4e72d44f979c</Id>
        <IntValue>1</IntValue>
        <Name>sample string 3</Name>
        <StringValue>sample string 4</StringValue>
        <Type>sample string 5</Type>
      </d2p1:Value>
    </d2p1:KeyValueOfstringCustomerFieldValueDtouOHOlRpi>
  </CustomFields>
  <Dni>sample string 3</Dni>
  <DniValidated>true</DniValidated>
  <Email>sample string 11</Email>
  <EmailStatus>Checked</EmailStatus>
  <EstimatedDateOfBirth>2026-06-04T19:00:05.9591471+00:00</EstimatedDateOfBirth>
  <ExtraPhone>sample string 15</ExtraPhone>
  <FirstName>sample string 6</FirstName>
  <GdprDate>2026-06-04T19:00:05.9591471+00:00</GdprDate>
  <Gender>Male</Gender>
  <HasAcceptedAdvertising>true</HasAcceptedAdvertising>
  <HasAcceptedBirthdayGreeting>true</HasAcceptedBirthdayGreeting>
  <HasAcceptedDataCession>true</HasAcceptedDataCession>
  <HasCard>true</HasCard>
  <HasEnabledNotifications>true</HasEnabledNotifications>
  <HasProgeny>true</HasProgeny>
  <Id>70db96d2-fe7b-4701-96e3-28a9a96c5692</Id>
  <IsGdprAccepted>true</IsGdprAccepted>
  <IsMember>true</IsMember>
  <LastName>sample string 5</LastName>
  <MobilePhone>sample string 14</MobilePhone>
  <OrganizationCode>sample string 1</OrganizationCode>
  <PhotoBase64>sample string 21</PhotoBase64>
  <PreferredLanguageCode>sample string 23</PreferredLanguageCode>
  <Rank>sample string 19</Rank>
  <SourceCode>sample string 17</SourceCode>
  <StoreCode>sample string 2</StoreCode>
  <UrlPhoto>sample string 20</UrlPhoto>
  <UserName>sample string 22</UserName>
  <ZipCode>sample string 12</ZipCode>
</CustomerDto>

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.