---
title: >-
  New preferences fields for prefilling checkout in the Storefront (cart) API -
  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/new-preferences-fields-for-prefilling-checkout-in-the-storefront-cart-api
  md: >-
    https://shopify.dev/changelog/new-preferences-fields-for-prefilling-checkout-in-the-storefront-cart-api.md
metadata:
  effectiveApiVersion: 2024-04
  affectedApi:
    - displayName: Storefront GraphQL API
      handle: storefront-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2024-05-01T15:05:49-04:00'
  postedAt: '2024-05-22T09:00:00-04:00'
  updatedAt: '2024-05-22T14:44:55-04:00'
  effectiveAt: '2024-05-22T09:00:00-04:00'
---

May 22, 2024

Tags:

* Storefront GraphQL API
* 2024-04

# New preferences fields for prefilling checkout in the Storefront (cart) API

As of `2024-04`, you can use the `preferences` object in the Cart API to prefill a checkout session.

These changes help merchants streamline their checkout process for their customers by prefilling information such as the preferred delivery method and pickup location. This change is additive to the `2024-04` version.

Learn more about these new fields in the `cartCreate` [reference page](https://shopify.dev/docs/api/storefront/2024-04/mutations/cartCreate) and the `CartBuyerIdentity` [reference page](https://shopify.dev/docs/api/storefront/2024-04/objects/CartBuyerIdentity)

For more information, an [updated tutorial](https://shopify.dev/docs/custom-storefronts/building-with-the-storefront-api/cart/manage) is also available.
