New preferences fields for prefilling checkout in the Storefront (cart) API
API
Effective May 22, 2024
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 and the CartBuyerIdentity
reference page
For more information, an updated tutorial is also available.