---
title: >-
  Metafield support for the cartTransformCreate mutation - 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/metafield-support-for-the-carttransformcreate-mutation
  md: >-
    https://shopify.dev/changelog/metafield-support-for-the-carttransformcreate-mutation.md
metadata:
  effectiveApiVersion: 2024-10
  affectedApi:
    - displayName: Admin GraphQL API
      handle: admin-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2024-07-08T16:05:09-04:00'
  postedAt: '2024-07-08T12:47:00-04:00'
  updatedAt: '2024-07-12T12:18:26-04:00'
  effectiveAt: '2024-07-08T12:47:00-04:00'
---

July 8, 2024

Tags:

* Admin GraphQL API
* 2024-10

# Metafield support for the `cartTransformCreate` mutation

As of 2024-10, the CartTransform create mutation will support metafields as an argument.

The new `metafields` argument for [`cartTransformCreate`](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/cartTransformCreate) allows for metafields to be set for the CartTransform at creation without the need to call [`metafieldsSet`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/metafieldsSet) in a subsequent call.

Learn more about the [CartTransform API](https://shopify.dev/docs/api/functions/reference/cart-transform).
