POST api/activation/userProfile

Activate user profile and in case of success user will get welcome email back. Use grant type accesskey for authorization

Request Information

URI Parameters

None.

Body Parameters

NameDescriptionTypeAdditional information
ActivationGuid

Activation Guid

globally unique identifier

You can get ActivationGuid from activation email

Required

Password

Password

string

Required

Max length: 512

Min length: 6

PrimaryGeoPostCodeId

City(location) Id

integer

You can get PrimaryGeoPostCodeId with GET api/City?countryId={countryId}&term={term}&resultItemsAmount={resultItemsAmount}

Required

TermsId

Id for terms and conditions

integer

User must accept latest terms and conditions. Use GET api/Terms?countryId={countryId} to get Id for latest terms and conditions.

Required

RecieveNewsletter

Receive newsletter

boolean

Check to true for receive newsletters from LogBuy

Required

Request Formats

application/json, text/json

Sample:
{
  "activationGuid": "b1212182-b977-4c9f-9ae9-1cab4f5d16ea",
  "password": "sample string 2",
  "primaryGeoPostCodeId": 3,
  "termsId": 4,
  "recieveNewsletter": true
}

Response Information

Email

Response Formats

application/json, text/json

Sample:
"sample string 1"