API reference Needed for Move selected to Inactive catalogue

Hi, Can you please let me know which API I should use to make product Inactive ? I am using Move selected to Inactive catalogue option.

Hi, dsalhotra.

In Product BO, ProductType property can be set to ProductType.DisabledProduct.

prodct.ProductType = ProductType.DisabledProduct

Thanks for posting.

Hi, How an item can be made active if it is inactive ? In Quantify client we have option called Move Selected to Active Catalogue option.

Hi, dsalhotra.

In Product BO, ProductType property can be set back to ProductType.Product from ProductType.DisabledProduct.

product.ProductType = ProductType.Product

Thanks for posting.