Insert Product Category
Request Parameters:
This method allows to insert new product category:
URL for nopCommerce 4.10 :
Api/Admin/InsertProductCategory
Headers :
Content-Type : application/json
Parameter: Required [ProductId]
{
"ApiSecretKey" :"k104r106p102g98k116q107x114x118" ,
"RestAPIAdminAccessKey" :"4fbdf629-be68-4371-a81d-4b191c98a52e",
"ProductId": "1",
"SelectedCategoryIds": [2, 4]
}
Response :
{
"Message": "Category inserted successfully"
}