POST api/Auth/Register

Request Information

URI Parameters

None.

Body Parameters

UserRegistrationDto
NameDescriptionTypeAdditional information
FirstName

string

None.

LastName

string

None.

Email

string

None.

PhoneNumber

string

None.

Password

string

None.

DateOfBirth

date

None.

StoreId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "LastName": "sample string 2",
  "Email": "sample string 3",
  "PhoneNumber": "sample string 4",
  "Password": "sample string 5",
  "DateOfBirth": "2026-02-07T22:25:02.8673042+10:00",
  "StoreId": "e822fada-a333-4c44-afab-e85f4b9f14b8"
}

application/xml, text/xml

Sample:
<UserRegistrationDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi2.Controllers">
  <DateOfBirth>2026-02-07T22:25:02.8673042+10:00</DateOfBirth>
  <Email>sample string 3</Email>
  <FirstName>sample string 1</FirstName>
  <LastName>sample string 2</LastName>
  <Password>sample string 5</Password>
  <PhoneNumber>sample string 4</PhoneNumber>
  <StoreId>e822fada-a333-4c44-afab-e85f4b9f14b8</StoreId>
</UserRegistrationDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UserRegistrationDto'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.