Shop User Metafields in Shopify Functions
Shop User is Shopify’s cross-merchant buyer identity. Partners who use metafields on Shop Users can now read those metafields during checkout using Shopify Functions. To learn more, see the Shop User metafields guide in the Shopify developer documentation: https://shopify.dev/docs/api/shop/guides/use-cases/metafields
More from Shopify developer platformEvery Shopify developer platform release →
Read a cart line's `viewKey` from the `CartLine` type
The CartLine type now exposes a viewKey field, so you can correlate a returned cart line with the viewKey you sent to cartLinesUpdate and cartLinesRemove . What's new CartLine.viewKey returns the same viewKey your Liquid storefront renders, alongside the existing UUID id .
Shopify AI Toolkit for upgrading extensions to Polaris web components
The Shopify AI Toolkit now supports upgrading checkout and customer account UI extensions to new API versions, including the migration to Polaris web components. Use the AI Toolkit with your preferred AI coding agent to skip repetitive manual work and speed up the heavy lifting.
Streamlined Metaobject API
It’s now easier to work with metaobjects. With the new values property , you can fetch all fields of a metaobject in a single call without handling deserialization in your app. The API returns a JSON-compatible object that’s ready to use directly. You can also use values when creating or updating metaobjects .
Metafields now require a definition to be accessed through the Customer Account API
Starting today, metafields stored on the app resource must have a metafield definition and customer accounts permissions to be accessible through the Customer Account API. Going forward, when calling the Customer Accounts API, app metafields without a definition will no longer return a value.
New appSubscriptionCancel mutation in the Partner API
Starting with API version 2026-07, Partner API clients can use the new appSubscriptionCancel mutation to cancel app subscriptions for public apps they own. The mutation supports: Immediate cancellation Deferred cancellation at the end of the current billing cycle Requesting prorated credits, when applicable Optionally skipping the final usage charge for...
New purchaseType and recurringCycleLimit fields in the discounts API for discount UI extensions
You can now configure purchaseType and recurringCycleLimit for app discounts directly from discount UI extensions using the discounts plugin. Previously, these fields were only accessible through the GraphQL Admin API.
Apps can now open Shopify’s file picker with the Intents API
Apps can now open Shopify’s native file picker with the Intents API. This lets your app prompt merchants to choose files from their Shopify file library without building a custom picker or sending them through a separate flow.