POST api/v1/extranet/customers/register

Request Information

URI Parameters

None.

Body Parameters

RegisterCustomerUserDto
NameDescriptionTypeAdditional information
FirstName

string

None.

LastName

string

None.

Gender

Gender

None.

Username

string

None.

Password

string

None.

Address

string

None.

Zipcode

string

None.

BirthDate

date

None.

Email

string

None.

MobilePhone

string

None.

Dni

string

None.

DniValidated

boolean

None.

HasProgeny

boolean

None.

Annotations

string

None.

Tag

string

None.

AllowsCommunications

boolean

None.

AllowsNotifications

boolean

None.

NoSendMail

boolean

None.

SendMail

boolean

None.

CreateCard

boolean

None.

CardTypeCode

string

None.

SourceCode

string

None.

CardCode

string

None.

IsGdprAccepted

boolean

None.

CustomFields

Dictionary of string [key] and CustomerFieldValueDto [value]

None.

StoreCode

string

None.

PreferredLanguageCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "firstName": "sample string 1",
  "lastName": "sample string 2",
  "gender": 0,
  "username": "sample string 3",
  "password": "sample string 4",
  "address": "sample string 5",
  "zipcode": "sample string 6",
  "birthDate": "2026-06-04T19:00:06.7247759+00:00",
  "email": "sample string 7",
  "mobilePhone": "sample string 8",
  "dni": "sample string 9",
  "dniValidated": true,
  "hasProgeny": true,
  "annotations": "sample string 11",
  "tag": "sample string 12",
  "allowsCommunications": true,
  "allowsNotifications": true,
  "noSendMail": true,
  "sendMail": true,
  "createCard": true,
  "cardTypeCode": "sample string 16",
  "sourceCode": "sample string 17",
  "cardCode": "sample string 18",
  "isGdprAccepted": true,
  "customFields": {
    "sample string 1": {
      "id": "631db52d-2fd7-4f8c-af4d-adde0867881d",
      "code": "sample string 2",
      "name": "sample string 3",
      "stringValue": "sample string 4",
      "dateTimeValue": "2026-06-04T19:00:06.7247759+00:00",
      "intValue": 1,
      "boolValue": true,
      "type": "sample string 5",
      "customerId": "faa14b66-27fa-498a-bb28-da3ae3311572",
      "customerFieldId": "dd8aa60c-f1d9-4c5b-8e1f-ca7625241d05"
    },
    "sample string 2": {
      "id": "631db52d-2fd7-4f8c-af4d-adde0867881d",
      "code": "sample string 2",
      "name": "sample string 3",
      "stringValue": "sample string 4",
      "dateTimeValue": "2026-06-04T19:00:06.7247759+00:00",
      "intValue": 1,
      "boolValue": true,
      "type": "sample string 5",
      "customerId": "faa14b66-27fa-498a-bb28-da3ae3311572",
      "customerFieldId": "dd8aa60c-f1d9-4c5b-8e1f-ca7625241d05"
    }
  },
  "storeCode": "sample string 19",
  "preferredLanguageCode": "sample string 20"
}

application/xml, text/xml

Sample:
<RegisterCustomerUserDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application.Services.Dtos.AccountManagement">
  <Address>sample string 5</Address>
  <AllowsCommunications>true</AllowsCommunications>
  <AllowsNotifications>true</AllowsNotifications>
  <Annotations>sample string 11</Annotations>
  <BirthDate>2026-06-04T19:00:06.7247759+00:00</BirthDate>
  <CardCode>sample string 18</CardCode>
  <CardTypeCode>sample string 16</CardTypeCode>
  <CreateCard>true</CreateCard>
  <CustomFields xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringCustomerFieldValueDtouOHOlRpi>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/Domain.Dtos">
        <d4p1:BoolValue>true</d4p1:BoolValue>
        <d4p1:Code>sample string 2</d4p1:Code>
        <d4p1:CustomerFieldId>dd8aa60c-f1d9-4c5b-8e1f-ca7625241d05</d4p1:CustomerFieldId>
        <d4p1:CustomerId>faa14b66-27fa-498a-bb28-da3ae3311572</d4p1:CustomerId>
        <d4p1:DateTimeValue>2026-06-04T19:00:06.7247759+00:00</d4p1:DateTimeValue>
        <d4p1:Id>631db52d-2fd7-4f8c-af4d-adde0867881d</d4p1:Id>
        <d4p1:IntValue>1</d4p1:IntValue>
        <d4p1:Name>sample string 3</d4p1:Name>
        <d4p1:StringValue>sample string 4</d4p1:StringValue>
        <d4p1:Type>sample string 5</d4p1:Type>
      </d2p1:Value>
    </d2p1:KeyValueOfstringCustomerFieldValueDtouOHOlRpi>
    <d2p1:KeyValueOfstringCustomerFieldValueDtouOHOlRpi>
      <d2p1:Key>sample string 2</d2p1:Key>
      <d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/Domain.Dtos">
        <d4p1:BoolValue>true</d4p1:BoolValue>
        <d4p1:Code>sample string 2</d4p1:Code>
        <d4p1:CustomerFieldId>dd8aa60c-f1d9-4c5b-8e1f-ca7625241d05</d4p1:CustomerFieldId>
        <d4p1:CustomerId>faa14b66-27fa-498a-bb28-da3ae3311572</d4p1:CustomerId>
        <d4p1:DateTimeValue>2026-06-04T19:00:06.7247759+00:00</d4p1:DateTimeValue>
        <d4p1:Id>631db52d-2fd7-4f8c-af4d-adde0867881d</d4p1:Id>
        <d4p1:IntValue>1</d4p1:IntValue>
        <d4p1:Name>sample string 3</d4p1:Name>
        <d4p1:StringValue>sample string 4</d4p1:StringValue>
        <d4p1:Type>sample string 5</d4p1:Type>
      </d2p1:Value>
    </d2p1:KeyValueOfstringCustomerFieldValueDtouOHOlRpi>
  </CustomFields>
  <Dni>sample string 9</Dni>
  <DniValidated>true</DniValidated>
  <Email>sample string 7</Email>
  <FirstName>sample string 1</FirstName>
  <Gender>Male</Gender>
  <HasProgeny>true</HasProgeny>
  <IsGdprAccepted>true</IsGdprAccepted>
  <LastName>sample string 2</LastName>
  <MobilePhone>sample string 8</MobilePhone>
  <NoSendMail>true</NoSendMail>
  <Password>sample string 4</Password>
  <PreferredLanguageCode>sample string 20</PreferredLanguageCode>
  <SendMail>true</SendMail>
  <SourceCode>sample string 17</SourceCode>
  <StoreCode>sample string 19</StoreCode>
  <Tag>sample string 12</Tag>
  <Username>sample string 3</Username>
  <Zipcode>sample string 6</Zipcode>
</RegisterCustomerUserDto>

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.