DELETE api/ProductCategories/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ProductCategory| Name | Description | Type | Additional 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:08:19.1460517-07:00",
"Carts": [
{
"RecordId": 1,
"CartId": "sample string 2",
"ProductId": 3,
"Count": 4,
"DateCreated": "2026-08-22T11:08:19.1460517-07:00"
},
{
"RecordId": 1,
"CartId": "sample string 2",
"ProductId": 3,
"Count": 4,
"DateCreated": "2026-08-22T11:08:19.1460517-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:08:19.1460517-07:00",
"Carts": [
{
"RecordId": 1,
"CartId": "sample string 2",
"ProductId": 3,
"Count": 4,
"DateCreated": "2026-08-22T11:08:19.1460517-07:00"
},
{
"RecordId": 1,
"CartId": "sample string 2",
"ProductId": 3,
"Count": 4,
"DateCreated": "2026-08-22T11:08:19.1460517-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:08:19.1460517-07:00",
"Carts": [
{
"RecordId": 1,
"CartId": "sample string 2",
"ProductId": 3,
"Count": 4,
"DateCreated": "2026-08-22T11:08:19.1460517-07:00"
},
{
"RecordId": 1,
"CartId": "sample string 2",
"ProductId": 3,
"Count": 4,
"DateCreated": "2026-08-22T11:08:19.1460517-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:08:19.1460517-07:00",
"Carts": [
{
"RecordId": 1,
"CartId": "sample string 2",
"ProductId": 3,
"Count": 4,
"DateCreated": "2026-08-22T11:08:19.1460517-07:00"
},
{
"RecordId": 1,
"CartId": "sample string 2",
"ProductId": 3,
"Count": 4,
"DateCreated": "2026-08-22T11:08:19.1460517-07:00"
}
]
}
]
}
]
}