POST api/Carts

Request Information

URI Parameters

None.

Body Parameters

CartBLVM
NameDescriptionTypeAdditional information
ObjCartBLList

Collection of CartBL

None.

Request Formats

application/json, text/json

Sample:
{
  "ObjCartBLList": [
    {
      "RecordId": 1,
      "CartId": "sample string 2",
      "ProductId": 3,
      "Count": 4,
      "DateCreated": "2026-08-22T11:07:23.6256275-07:00",
      "IsNeedsToDelete": true
    },
    {
      "RecordId": 1,
      "CartId": "sample string 2",
      "ProductId": 3,
      "Count": 4,
      "DateCreated": "2026-08-22T11:07:23.6256275-07:00",
      "IsNeedsToDelete": true
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Cart
NameDescriptionTypeAdditional information
RecordId

integer

None.

CartId

string

None.

ProductId

integer

None.

Count

integer

None.

DateCreated

date

None.

Product

Product

None.

Response Formats

application/json, text/json

Sample:
{
  "RecordId": 1,
  "CartId": "sample string 2",
  "ProductId": 3,
  "Count": 4,
  "DateCreated": "2026-08-22T11:07:23.6256275-07:00",
  "Product": {
    "ProductId": 1,
    "ProductSubcategoryId": 2,
    "ProductName": "sample string 3",
    "Price": 4.0,
    "ProductImageUrl": "sample string 5",
    "ProductVideoUrl": "sample string 6",
    "MediaFolderPath": "sample string 7",
    "StoreDesignNo": "sample string 8",
    "BrandDesignNo": "sample string 9",
    "StockStartQuantity": 1,
    "StockInQuantity": 1,
    "ProductDescription": "sample string 10",
    "IsActive": true,
    "CreatedDate": "2026-08-22T11:07:23.6256275-07:00",
    "Carts": [],
    "ProductSubcategory": {
      "ProductSubcategoryId": 1,
      "ProductSubcategoryName": "sample string 2",
      "ProductCategoryId": 1,
      "Products": [],
      "ProductCategory": {
        "ProductCategoryId": 1,
        "MasterProductCategoryId": 1,
        "ProductCategoryName": "sample string 2",
        "MasterProductCategory": {
          "MasterProductCategoryId": 1,
          "MasterProductCategoryName": "sample string 2",
          "ProductCategories": []
        },
        "ProductSubcategories": []
      }
    }
  }
}