PUT product/removecategory
Remove Product Category relations, will not remove if the category is set to primary. To remove primary category relations, first set another category to primary and then remove it.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
pcm | 1) ProductCode 2) CategoryCode |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "ProductCode": "sample string 1", "CategoryCode": "sample string 2", "IsPrimary": true, "RemoveOthers": true }
application/xml, text/xml
Sample:
<ProductCategoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webi.Api2.Models"> <CategoryCode>sample string 2</CategoryCode> <IsPrimary>true</IsPrimary> <ProductCode>sample string 1</ProductCode> <RemoveOthers>true</RemoveOthers> </ProductCategoryModel>
application/x-www-form-urlencoded
Sample:
Sample not available.