POST Account/RegisterUser

Request Information

URI Parameters

None.

Body Parameters

Customer
NameDescriptionTypeAdditional information
CustomerID

integer

None.

First_Name

string

None.

Last_Name

string

None.

UserName

string

None.

Password

string

None.

Age

integer

None.

Gender

string

None.

DateofBirth

date

None.

Organization

string

None.

Country

string

None.

State

string

None.

City

string

None.

PostalCode

string

None.

Email

string

None.

AltEmail

string

None.

Phone1

string

None.

Phone2

string

None.

Mobile1

string

None.

Mobile2

string

None.

Address1

string

None.

Address2

string

None.

Picture

string

None.

status

string

None.

LastLogin

date

None.

Created

date

None.

Notes

string

None.

Carts

Collection of Cart

None.

Orders

Collection of Order

None.

RecentlyViews

Collection of RecentlyView

None.

Reviews

Collection of Review

None.

ShippingDetails

Collection of ShippingDetail

None.

Wishlists

Collection of Wishlist

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerID": 1,
  "First_Name": "sample string 2",
  "Last_Name": "sample string 3",
  "UserName": "sample string 4",
  "Password": "sample string 5",
  "Age": 1,
  "Gender": "sample string 6",
  "DateofBirth": "2026-01-21T22:15:19.4846845+00:00",
  "Organization": "sample string 7",
  "Country": "sample string 8",
  "State": "sample string 9",
  "City": "sample string 10",
  "PostalCode": "sample string 11",
  "Email": "sample string 12",
  "AltEmail": "sample string 13",
  "Phone1": "sample string 14",
  "Phone2": "sample string 15",
  "Mobile1": "sample string 16",
  "Mobile2": "sample string 17",
  "Address1": "sample string 18",
  "Address2": "sample string 19",
  "Picture": "sample string 20",
  "status": "sample string 21",
  "LastLogin": "2026-01-21T22:15:19.4846845+00:00",
  "Created": "2026-01-21T22:15:19.4846845+00:00",
  "Notes": "sample string 22",
  "Carts": [
    {
      "$id": "2",
      "CartID": 1,
      "CustomerID": 2,
      "ProductID": 3,
      "Quantity": 1,
      "CreateDate": "2026-01-21T22:15:19.4846845+00:00",
      "isActive": true,
      "Customer": {
        "$ref": "1"
      },
      "Product": {
        "$id": "3",
        "ProductID": 1,
        "ProductNumber": "sample string 2",
        "Name": "sample string 3",
        "SupplierID": 1,
        "CategoryID": 4,
        "SubCategoryID": 1,
        "Brand": "sample string 5",
        "QuantityPerUnit": "sample string 6",
        "UnitPrice": 1.0,
        "OldPrice": 1.0,
        "VAT": 1.0,
        "GrandTotal": 1.0,
        "UnitWeight": "sample string 7",
        "Size": "sample string 8",
        "Discount": 1.0,
        "UnitInStock": 1,
        "UnitOnOrder": 1,
        "ProductAvailable": true,
        "ImageURL": "sample string 9",
        "AltText": "sample string 10",
        "AddBadge": true,
        "OfferTitle": "sample string 11",
        "OfferBadgeClass": "sample string 12",
        "ShortDescription": "sample string 13",
        "LongDescription": "sample string 14",
        "Picture1": "sample string 15",
        "Picture2": "sample string 16",
        "Picture3": "sample string 17",
        "Picture4": "sample string 18",
        "Note": "sample string 19",
        "LocationID": "sample string 20",
        "UnitMeasurement": "sample string 21",
        "DeliveryCharges": 1.0,
        "Type": 22,
        "Carts": [
          {
            "$ref": "2"
          },
          {
            "$ref": "2"
          }
        ],
        "Category": {
          "$id": "4",
          "CategoryID": 1,
          "Name": "sample string 2",
          "Description": "sample string 3",
          "Picture1": "sample string 4",
          "Picture2": "sample string 5",
          "isActive": true,
          "Products": [
            {
              "$ref": "3"
            },
            {
              "$ref": "3"
            }
          ],
          "SubCategories": [
            {
              "$id": "5",
              "SubCategoryID": 1,
              "CategoryID": 2,
              "Name": "sample string 3",
              "Description": "sample string 4",
              "Picture1": "sample string 5",
              "Picture2": "sample string 6",
              "isActive": true,
              "Category": {
                "$ref": "4"
              },
              "Products": [
                {
                  "$ref": "3"
                },
                {
                  "$ref": "3"
                }
              ]
            },
            {
              "$ref": "5"
            }
          ]
        },
        "OrderDetails": [
          {
            "$id": "6",
            "OrderDetailsID": 1,
            "OrderID": 2,
            "ProductID": 3,
            "UnitPrice": 1.0,
            "Quantity": 1,
            "Discount": 1.0,
            "TotalAmount": 1.0,
            "OrderDate": "2026-01-21T22:15:19.4846845+00:00",
            "Tax": 1.0,
            "DeliveryCharge": 1.0,
            "Order": {
              "$id": "7",
              "OrderID": 1,
              "CustomerID": 2,
              "PaymentID": 1,
              "ShippingID": 1,
              "Discount": 1.0,
              "Taxes": 1.0,
              "TotalAmount": 1.0,
              "GrandTotal": 1.0,
              "isCompleted": true,
              "OrderDate": "2026-01-21T22:15:19.4846845+00:00",
              "DIspatched": true,
              "DispatchedDate": "2026-01-21T22:15:19.4846845+00:00",
              "Shipped": true,
              "ShippingDate": "2026-01-21T22:15:19.4846845+00:00",
              "Deliver": true,
              "DeliveryDate": "2026-01-21T22:15:19.4846845+00:00",
              "Notes": "sample string 3",
              "CancelOrder": true,
              "Notified": true,
              "LocationID": 1,
              "DeliveryCharge": 1.0,
              "Vat": 1.0,
              "Status": "sample string 4",
              "CusName": "sample string 5",
              "CusAddress": "sample string 6",
              "CusMob": "sample string 7",
              "ProductDetails": "sample string 8"
            },
            "Product": {
              "$ref": "3"
            }
          },
          {
            "$ref": "6"
          }
        ],
        "SubCategory": {
          "$ref": "5"
        },
        "Supplier": {
          "$id": "8",
          "SupplierID": 1,
          "CompanyName": "sample string 2",
          "ContactName": "sample string 3",
          "ContactTitle": "sample string 4",
          "Address": "sample string 5",
          "Mobile": "sample string 6",
          "Phone": "sample string 7",
          "Fax": "sample string 8",
          "Email": "sample string 9",
          "City": "sample string 10",
          "Country": "sample string 11",
          "Products": [
            {
              "$ref": "3"
            },
            {
              "$ref": "3"
            }
          ]
        },
        "RecentlyViews": [
          {
            "$id": "9",
            "RViewID": 1,
            "CustomerID": 2,
            "ProductID": 3,
            "ViewDate": "2026-01-21T22:15:19.4978022+00:00",
            "Note": "sample string 5",
            "Customer": {
              "$ref": "1"
            },
            "Product": {
              "$ref": "3"
            }
          },
          {
            "$ref": "9"
          }
        ],
        "Reviews": [
          {
            "$id": "10",
            "ReviewID": 1,
            "CustomerID": 1,
            "ProductID": 1,
            "Name": "sample string 2",
            "Email": "sample string 3",
            "Review1": "sample string 4",
            "Rate": 1,
            "DateTime": "2026-01-21T22:15:19.4978022+00:00",
            "isDelete": true,
            "Customer": {
              "$ref": "1"
            },
            "Product": {
              "$ref": "3"
            }
          },
          {
            "$ref": "10"
          }
        ],
        "Wishlists": [
          {
            "$id": "11",
            "WishlistID": 1,
            "CustomerID": 2,
            "ProductID": 3,
            "isActive": true,
            "Customer": {
              "$ref": "1"
            },
            "Product": {
              "$ref": "3"
            }
          },
          {
            "$ref": "11"
          }
        ]
      }
    },
    {
      "$ref": "2"
    }
  ],
  "Orders": [
    {
      "$ref": "7"
    },
    {
      "$ref": "7"
    }
  ],
  "RecentlyViews": [
    {
      "$ref": "9"
    },
    {
      "$ref": "9"
    }
  ],
  "Reviews": [
    {
      "$ref": "10"
    },
    {
      "$ref": "10"
    }
  ],
  "ShippingDetails": [
    {
      "$id": "12",
      "ShippingID": 1,
      "CustomerId": 1,
      "FirstName": "sample string 2",
      "LastName": "sample string 3",
      "Email": "sample string 4",
      "Mobile": "sample string 5",
      "Address": "sample string 6",
      "Province": "sample string 7",
      "City": "sample string 8",
      "PostCode": "sample string 9",
      "Latitude": 1.0,
      "Longitude": 1.0,
      "Customer": {
        "$ref": "1"
      },
      "Orders": [
        {
          "$ref": "7"
        },
        {
          "$ref": "7"
        }
      ]
    },
    {
      "$ref": "12"
    }
  ],
  "Wishlists": [
    {
      "$ref": "11"
    },
    {
      "$ref": "11"
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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.