---
title: >-
  Generate targeted product recommendations with the new
  ProductRecommendationIntent type - Shopify developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/generate-targeted-product-recommendations-with-the-new-productrecommendationintent-type
  md: >-
    https://shopify.dev/changelog/generate-targeted-product-recommendations-with-the-new-productrecommendationintent-type.md
metadata:
  effectiveApiVersion: 2023-04
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2023-01-20T20:33:31-05:00'
  postedAt: '2023-04-01T00:00:00-04:00'
  updatedAt: '2024-12-13T17:24:36-05:00'
  effectiveAt: '2023-04-01T00:00:00-04:00'
---

April 1, 2023

Tags:

* API
* 2023-04

# Generate targeted product recommendations with the new `ProductRecommendationIntent` type

As of the **2023-04** API version of the Storefront API, [the ProductRecommendations query](https://shopify.dev/api/storefront/unstable/queries/productRecommendations) will accept an optional `intent` argument. Additionally, a new `ProductRecommendationIntent` will be introduced as a GraphQL Enum Type, defining the supported [product recommendation intents](https://shopify.dev/themes/product-merchandising/recommendations#recommendation-intents). By default, the API will return `RELATED` recommendations for backward compatibility.
