POST api/v2/Customer/SaveCustomerAccount

Request Information

URI Parameters

None.

Body Parameters

Multisponsor.NetCommerce.API.Models.V2.RequestV2OfMultisponsor.NetCommerce.API.Models.V2.CustomerAccountV2
NameDescriptionTypeAdditional information
token

string

None.

ObjectRequest

Multisponsor.NetCommerce.API.Models.V2.CustomerAccountV2

None.

Request Formats

application/json, text/json

Sample:
{
  "token": "sample string 1",
  "ObjectRequest": {
    "ProgramId": 1,
    "Id": "sample string 2",
    "IdentificationTypeId": 1,
    "Identification": "sample string 3",
    "Name": "sample string 4",
    "LastName": "sample string 5",
    "UpdateDate": "2025-05-12T14:18:39.6822697+00:00",
    "AdditionalInfo": "sample string 7",
    "UserName": "sample string 8",
    "Password": "sample string 9",
    "IsLegalPerson": true,
    "AllowMobilePhoneContact": true,
    "AllowEmailContact": true
  }
}

application/xml, text/xml

Sample:
<RequestV2OfCustomerAccountV2eD9PY_SAf xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Multisponsor.NetCommerce.API.Models.V2">
  <ObjectRequest>
    <AdditionalInfo>sample string 7</AdditionalInfo>
    <AllowEmailContact>true</AllowEmailContact>
    <AllowMobilePhoneContact>true</AllowMobilePhoneContact>
    <Id>sample string 2</Id>
    <Identification>sample string 3</Identification>
    <IdentificationTypeId>1</IdentificationTypeId>
    <IsLegalPerson>true</IsLegalPerson>
    <LastName>sample string 5</LastName>
    <Name>sample string 4</Name>
    <Password>sample string 9</Password>
    <ProgramId>1</ProgramId>
    <UpdateDate>2025-05-12T14:18:39.6822697+00:00</UpdateDate>
    <UserName>sample string 8</UserName>
  </ObjectRequest>
  <token>sample string 1</token>
</RequestV2OfCustomerAccountV2eD9PY_SAf>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Multisponsor.NetCommerce.API.Models.V2.ResponseV2OfSystem.String
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

Collection of Multisponsor.NetCommerce.API.Models.V2.MessageResultV2

None.

ObjectResponse

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Message": [
    {
      "Message": "sample string 1"
    },
    {
      "Message": "sample string 1"
    }
  ],
  "ObjectResponse": "sample string 2"
}

application/xml, text/xml

Sample:
<ResponseV2Ofstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Multisponsor.NetCommerce.API.Models.V2">
  <Message>
    <MessageResultV2>
      <Message>sample string 1</Message>
    </MessageResultV2>
    <MessageResultV2>
      <Message>sample string 1</Message>
    </MessageResultV2>
  </Message>
  <ObjectResponse>sample string 2</ObjectResponse>
  <Status>true</Status>
</ResponseV2Ofstring>