--- title: Function parameter values can be queried in the Segmentation API - 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/function-parameter-values-can-be-queried-in-the-segmentation-api md: https://shopify.dev/changelog/function-parameter-values-can-be-queried-in-the-segmentation-api.md --- [Back to Developer changelog](https://shopify.dev/changelog) July 1, 2023 Tags: * Action Required * API * 2023-07 # Function parameter values can be queried in the Segmentation API As of GraphQL Admin API Version `2023-07`, you can use the new `functionParameterQueryName` argument on `segmentValueSuggestions` to query for function parameter value suggestions for Customer Segmentation. For example, the `products_purchased` filter has the function parameter `id`: `products_purchased(id: '2012162031638') = true`. To retrieve a list of possible Product IDs to use for the `id` function parameter, provide `filterQueryName: 'products_purchased', functionParameterQueryName: 'id'` as arguments to the `segmentValueSuggestions` endpoint.