POST api/ProductCategories

Request Information

URI Parameters

None.

Body Parameters

ProductCategoryBLVM
NameDescriptionTypeAdditional information
ProductCategories

Collection of ProductCategoryBL

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductCategories": [
    {
      "ProductCategoryId": 1,
      "ProductCategoryName": "sample string 2",
      "MasterProductCategoryName": "sample string 3",
      "MasterProductCategoryId": 1,
      "IsNeedsToDelete": true
    },
    {
      "ProductCategoryId": 1,
      "ProductCategoryName": "sample string 2",
      "MasterProductCategoryName": "sample string 3",
      "MasterProductCategoryId": 1,
      "IsNeedsToDelete": true
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ProductCategory
NameDescriptionTypeAdditional information
ProductCategoryId

integer

None.

MasterProductCategoryId

integer

None.

ProductCategoryName

string

None.

MasterProductCategory

MasterProductCategory

None.

ProductSubcategories

Collection of ProductSubcategory

None.

Response Formats

application/json, text/json

Sample:
{
  "ProductCategoryId": 1,
  "MasterProductCategoryId": 1,
  "ProductCategoryName": "sample string 2",
  "MasterProductCategory": {
    "MasterProductCategoryId": 1,
    "MasterProductCategoryName": "sample string 2",
    "ProductCategories": []
  },
  "ProductSubcategories": [
    {
      "ProductSubcategoryId": 1,
      "ProductSubcategoryName": "sample string 2",
      "ProductCategoryId": 1,
      "Products": [
        {
          "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:20.6555461-07:00",
          "Carts": [
            {
              "RecordId": 1,
              "CartId": "sample string 2",
              "ProductId": 3,
              "Count": 4,
              "DateCreated": "2026-08-22T11:07:20.6555461-07:00"
            },
            {
              "RecordId": 1,
              "CartId": "sample string 2",
              "ProductId": 3,
              "Count": 4,
              "DateCreated": "2026-08-22T11:07:20.6555461-07:00"
            }
          ]
        },
        {
          "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:20.6555461-07:00",
          "Carts": [
            {
              "RecordId": 1,
              "CartId": "sample string 2",
              "ProductId": 3,
              "Count": 4,
              "DateCreated": "2026-08-22T11:07:20.6555461-07:00"
            },
            {
              "RecordId": 1,
              "CartId": "sample string 2",
              "ProductId": 3,
              "Count": 4,
              "DateCreated": "2026-08-22T11:07:20.6555461-07:00"
            }
          ]
        }
      ]
    },
    {
      "ProductSubcategoryId": 1,
      "ProductSubcategoryName": "sample string 2",
      "ProductCategoryId": 1,
      "Products": [
        {
          "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:20.6555461-07:00",
          "Carts": [
            {
              "RecordId": 1,
              "CartId": "sample string 2",
              "ProductId": 3,
              "Count": 4,
              "DateCreated": "2026-08-22T11:07:20.6555461-07:00"
            },
            {
              "RecordId": 1,
              "CartId": "sample string 2",
              "ProductId": 3,
              "Count": 4,
              "DateCreated": "2026-08-22T11:07:20.6555461-07:00"
            }
          ]
        },
        {
          "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:20.6555461-07:00",
          "Carts": [
            {
              "RecordId": 1,
              "CartId": "sample string 2",
              "ProductId": 3,
              "Count": 4,
              "DateCreated": "2026-08-22T11:07:20.6555461-07:00"
            },
            {
              "RecordId": 1,
              "CartId": "sample string 2",
              "ProductId": 3,
              "Count": 4,
              "DateCreated": "2026-08-22T11:07:20.6555461-07:00"
            }
          ]
        }
      ]
    }
  ]
}