Request Parameters:


This method is used to List Product category:


URL  for nopCommerce 4.10 :

Api/Admin/ListProductCategory


Headers :

Content-Type : application/json


Parameter: Required [ProductId]


{
    "ApiSecretKey" :"k104r106p102g98k116q107x114x118" ,
    "RestAPIAdminAccessKey" :"4fbdf629-be68-4371-a81d-4b191c98a52e",
    "VendorId": "0",
    "ProductId": "1"
}

Response :


[
{
 "ProductCategoryId": 52,
 "SelectedCategoryIds": [
  52,
  1,
  46,
  47,
  48,
  49
 ],
 "ProductCategoryMessage": null,
 "Category": "Computers >> Software",
 "ProductId": 1,
 "CategoryId": 4,
 "IsFeaturedProduct": false,
 "DisplayOrder": 0
},
{
 "ProductCategoryId": 1,
 "SelectedCategoryIds": [
  52,
  1,
  46,
  47,
  48,
  49
 ],
 "ProductCategoryMessage": null,
 "Category": "Computers >> Desktops",
 "ProductId": 1,
 "CategoryId": 2,
 "IsFeaturedProduct": false,
 "DisplayOrder": 1
},
{
 "ProductCategoryId": 46,
 "SelectedCategoryIds": [
  52,
  1,
  46,
  47,
  48,
  49
 ],
 "ProductCategoryMessage": null,
 "Category": "Computers",
 "ProductId": 1,
 "CategoryId": 1,
 "IsFeaturedProduct": false,
 "DisplayOrder": 1
},
{
 "ProductCategoryId": 47,
 "SelectedCategoryIds": [
  52,
  1,
  46,
  47,
  48,
  49
 ],
 "ProductCategoryMessage": null,
 "Category": "Electronics",
 "ProductId": 1,
 "CategoryId": 5,
 "IsFeaturedProduct": false,
 "DisplayOrder": 1
},
{
 "ProductCategoryId": 48,
 "SelectedCategoryIds": [
  52,
  1,
  46,
  47,
  48,
  49
 ],
 "ProductCategoryMessage": null,
 "Category": "Electronics >> Cell phones",
 "ProductId": 1,
 "CategoryId": 7,
 "IsFeaturedProduct": false,
 "DisplayOrder": 2
},
{
 "ProductCategoryId": 49,
 "SelectedCategoryIds": [
  52,
  1,
  46,
  47,
  48,
  49
 ],
 "ProductCategoryMessage": null,
 "Category": "Books",
 "ProductId": 1,
 "CategoryId": 14,
 "IsFeaturedProduct": false,
 "DisplayOrder": 2
}
]