---
title: >-
  Shopify Function configurations now use target identifiers - 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/shopify-function-configurations-now-use-target-identifiers
  md: >-
    https://shopify.dev/changelog/shopify-function-configurations-now-use-target-identifiers.md
metadata:
  effectiveApiVersion: 2023-10
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2023-09-15T11:29:06-04:00'
  postedAt: '2023-10-02T12:00:00-04:00'
  updatedAt: '2024-12-13T17:24:39-05:00'
  effectiveAt: '2023-10-02T12:00:00-04:00'
---

October 2, 2023

Tags:

* API
* 2023-10

# Shopify Function configurations now use target identifiers

As of API version 2023-10 and Shopify CLI 3.49.5, [Shopify Functions](https://shopify.dev/docs/apps/functions) configuration now uses [targets](https://shopify.dev/docs/apps/app-extensions/configuration#targets) to identify backend extensibility points in Shopify, so that configuring a function is now more like configuring other app extensions.

All Shopify Function APIs now support `[targeting]` configuration, with an extension target mapping to a specific WebAssembly export.

```
[[extensions.targeting]]
target = "purchase.validation.run"
input_query = "src/run.graphql"
export = "run"
```

Existing functions without `targeting` specified will continue to execute and deploy without any changes required. Use of `targeting` requires [upgrading](https://shopify.dev/docs/apps/tools/cli#upgrade-shopify-cli) Shopify CLI to 3.49.4 or higher.

For more information, you can reference:

* [Configuring app extensions](https://shopify.dev/docs/apps/app-extensions/configuration)
* [Function configuration](https://shopify.dev/docs/api/functions/configuration)
* [Function API references](https://shopify.dev/docs/api/functions)
