Product Filter

This section provides information about Product Filter criteria.

setProductFilter2 

  • Description: Sets the Product Filter Criteria.
  • Classname: Promotion2BoApiCoreWorkflowSteps
  • Method: setProductFilter
PropertyDescriptionRequired or Optional
.IncludedProductsThe external IDs of the manual products to include.Optional
.ExcludedProductsThe external IDs of the manual products to exclude.Optional
.Criteria.CategoryThe external IDs of the manual categories to include.Optional
.Criteria.SubcategoryThe external IDs of the manual subcategories to include.Optional
.Criteria.BrandThe external IDs of the manual brands to include.Optional
.Criteria.PackageThe external IDs of the manual packages to include.Optional
Criteria.FlavorThe external IDs of the manual flavors to include.Optional

This workflow step sets the Filter_Criteria__c property for promotion and tactic.

1{
2    "ExcludedProducts": [...],
3    "IncludedProducts" : [...],       // Id List of the manual products. These id's can be SFDC Id's or product external ids
4    "Criteria": {
5        "Brand" : [...],            // An object where the keys indicate the product level and the values the list of selected items. Id's can be SFDC Id's or product external ids
6        "Category" : [...]
7    }
8}