POST v1/Customers/ReverseAlternateAccount

Merge social only account to a "merged" account to enable email only login

URI template

v1/Customers/ReverseAlternateAccount

Request Information

URI Parameters

None.

Body Parameters

ReverseMergeAlternateCustomer object which should contain the email

ReverseMergeAlternateCustomerRequest
NameDescriptionTypeAdditional information
CustomerId

Customer Id

globally unique identifier

None.

Email

Customer Email

string

None.

SiteId

Get or set the SiteId property

integer

None.

CultureId

Get or set the CultureId property

string

None.

CompanyCode

Get or set the CompanyId property

string

None.

NepOrganizationId

Odsp Organization Id corresponding to CompanyCode

string

None.

PesConsumerId

Pes customer identification

string

None.

TrackingId

Internal Tracking ID

string

None.

ExternalAddress

External Address to access the ordering webpage

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": "b8011889-7680-40f3-bec2-268929098ee6",
  "Email": "sample string 2",
  "SiteId": 3,
  "CultureId": "sample string 4",
  "CompanyCode": "sample string 5",
  "NepOrganizationId": "sample string 6",
  "PesConsumerId": "sample string 7",
  "TrackingId": "sample string 8",
  "ExternalAddress": "sample string 9"
}

application/xml, text/xml

Sample:
<ReverseMergeAlternateCustomerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Radiant.Order.Shared.Contracts.ServiceEntities">
  <CompanyCode>sample string 5</CompanyCode>
  <ExternalAddress>sample string 9</ExternalAddress>
  <NepOrganizationId>sample string 6</NepOrganizationId>
  <PesConsumerId>sample string 7</PesConsumerId>
  <TrackingId>sample string 8</TrackingId>
  <CultureId>sample string 4</CultureId>
  <SiteId>3</SiteId>
  <CustomerId>b8011889-7680-40f3-bec2-268929098ee6</CustomerId>
  <Email>sample string 2</Email>
</ReverseMergeAlternateCustomerRequest>

Response Information

Resource Description

HttpStatus code is OK and known internal errors are BadRequest, InternalServerError

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.