← Latest Shopify changes

Analytics metric targets now available in the GraphQL Admin API

APINewAdmin GraphQL API

Shopify developer change

MerchantDiff detected this entry in Shopify's official developer changelog on April 29, 2026.

This Shopify update is categorized as API, New, Admin GraphQL API.

What changed

You can now create and manage metric targets for merchants using four new GraphQL Admin API operations: analyticsTargets, analyticsTargetCreate, analyticsTargetUpdate, and analyticsTargetsDelete. With targets, merchants can set numeric goals for analytics metrics, such as "achieve $50K in gross sales this quarter," and track their progress with a visual gauge. The API has been available to apps from the start, enabling you to build on the same foundation that supports targets in the Shopify admin. Whether you're developing a goal-setting tool, a reporting dashboard, or a planning app, you can now read and write the same targets that merchants view in their analytics, using the same API, rules, and validation. What you can do Create: Specify a metric, target amount, time period, and an optional filter (for example, limit to a specific sales channel or product).

Who is affected

Apps using the affected Shopify GraphQL API surface should review this change.

What action may be needed

Review whether the new capability is relevant to your app. If you plan to use it, test the affected API or workflow before adopting it in production.

Referenced API version: 2026-04

Use the official Shopify entry below as the source of truth for technical implementation details, affected APIs, migration instructions and deadlines.

Want the actionable version?

MerchantDiff monitors Shopify API changes, deprecations, deadlines and ecosystem updates, then turns them into developer-focused release intelligence: what changed, who is affected and what action may be needed.

Get MerchantDiff →