You can use this API to retrieve the list of product Ids for the given product name.

APISignature
getProductIdswebService static List getProductIds(String productName)
Request Parameter
NameTypeDescription
productNameStringThe name product for which you want to retrieve the product Ids.
Response Parameter
NameTypeDescription
productIdList<String>The list of product Ids. 


Code Sample

The below sample code retrieves the product Ids of a given product name.


public List<Id> getParentProducts(String productName) {

	// retrieve product IDs
	List<ID> productIds = Apttus_Config2.CPQAdminWebService.getProductIds(productName);
	return productIds;
}
CODE