Developer changelog
Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.
Filter by tag:
Get prepared for future changes to Shopify’s APIs and other developer products.
There are no entries for your filter criteria.
July 01, 2024
fileUpdate supports connecting files to products API
As of 2024-07, you can use the fileUpdate mutation to connect files to products.
Learn more about working with files on Shopify.dev.
July 01, 2024
SellingPlan metafields are now available in the Admin and Storefront API API
As of 2024-07 version, SellingPlan resources support metafields. Use metafields APIs to store additional information in metafield values.
You can use the sellingPlanGroupCreate mutation and sellingPlanGroupUpdate mutation to update and create metafields on the selling plan objects by specifiying the metafields field of sellingPlanInput.
To learn more about metafields, refer to the metafields documentation.
July 01, 2024
Media included in product webhooks API
As of 2024-07, the product create and update webhook payload contains information about the media on a product.
Using media GIDs allows compatibility with GraphQL Admin API mutations such as https://shopify.dev/docs/api/admin-graphql/2024-07/mutations/fileupdate and https://shopify.dev/docs/api/admin-graphql/2024-07/mutations/productupdatemedia
To receive media in the webhook payload, specify 2024-07 or greater as the webhook API version.
July 01, 2024
Introducing a webhook topic for customer account settings API
As of API version 2024-07 of the GraphQL Admin API, your app can subscribe to the customer_account_settings/update
webhook topic.
This webhook is triggered when a merchant changes customer account settings.
For example, if a merchant chooses new customer account, requires login on checkout and shows login link on online store, the payload in the webhook will look like:
{
url: 'https://shopify.com/1234567890/account',
customer_accounts_version: 'new_customer_accounts',
login_required_at_checkout: true,
login_links_visible_on_storefront_and_checkout: true
}
If a merchant chooses classic customer account, does not require login on checkout and does not show login link on online store, the payload in the webhook will look like:
{
url: null,
customer_accounts_version: 'classic',
login_required_at_checkout: false,
login_links_visible_on_storefront_and_checkout: false
}
Learn more about these webhooks on Shopify.dev
July 01, 2024
New optional argument to include translations when duplicating product asynchronously API
As of 2024-07
version in the admin GraphQL API, you can specify whether to include translations when calling the productDuplicateAsyncV2 mutation. When this optional argument is passed in as true
, all translations that are saved on the product, its variants, and its metafields are copied over to the new product.
July 01, 2024
Action required
shippingLine.discountedPriceSet now includes cart level discounts API
As of version 2024-07 in the GraphQL Admin API, the discountedPriceSet
and discountedPrice
fields of the object ShippingLine
will include cart level discounts applied to an order, including the free shipping discount, when calculating the discounted price.
Previously, you would have had to subtract the discountAllocations
from discountedPriceSet
or discountedPrice
to get an accurate value, but doing so now will subtract the same discount twice.
Learn more about Shipping Lines on Shopify.dev.