recommendations
Product recommendations for a specific product based on sales data, product descriptions, and collection relationships.
Product recommendations become more accurate over time as new orders and product data become available. To learn more about how product recommendations are generated, refer to Product recommendations.
The recommendations object returns products only when rendered in a section using the Product Recommendations API
and the Section Rendering API. To learn about how to include product recommendations in your theme,
refer to Show product recommendations.
Properties
Returns
truewhen being referenced inside a section that's been rendered using the Product Recommendations API and the Section Rendering API. Returnsfalseif not.The recommended products.
If
performed?isfalse, then an EmptyDrop is returned.
Example
{
"products": [],
"products_count": 4,
"performed?": true
}