Product Recommendations Object
POST https://api.hubapi.com/crm-object-schemas/v3/schemas
Request Body
{"secondaryDisplayProperties"=>["recommended_product_category_primary"], "requiredProperties"=>["recommended_product_name"], "searchableProperties"=>["recommended_product_name", "recommended_product_category_primary"], "name"=>"product_recommendation", "associatedObjects"=>["CONTACT", "DEAL"], "properties"=>[{"name"=>"recommended_product_name", "label"=>"Recommended Product Name", "isPrimaryDisplayLabel"=>true, "type"=>"string", "searchableInGlobalSearch"=>true, "fieldType"=>"text", "formField"=>true}, {"name"=>"recommended_product_category_primary", "label"=>"Recommended Product Category Primary", "isPrimaryDisplayLabel"=>false, "type"=>"string", "searchableInGlobalSearch"=>true, "fieldType"=>"text", "formField"=>true}, {"name"=>"recommended_product_category_secondary", "label"=>"Recommended Product Category Secondary", "isPrimaryDisplayLabel"=>false, "type"=>"string", "searchableInGlobalSearch"=>true, "fieldType"=>"text", "formField"=>true}, {"name"=>"recommended_product_external_id", "label"=>"Recommended Product External ID", "isPrimaryDisplayLabel"=>false, "type"=>"string", "searchableInGlobalSearch"=>false, "fieldType"=>"text", "formField"=>true}, {"name"=>"recommended_product_id", "label"=>"Recommended Product ID", "isPrimaryDisplayLabel"=>false, "type"=>"string", "searchableInGlobalSearch"=>true, "fieldType"=>"text", "formField"=>true}], "labels"=>{"plural"=>"Product Recommendations", "singular"=>"Product Recommendation"}, "primaryDisplayProperty"=>"recommended_product_name", "description"=>"AI-Powered Product Recommendations"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |