---
schema_version: "1"
id: 2f8ae51116d0bd65bf95c9c8166707714444f476d9d175ab2031c3764d838f46
title: Prefill Shipping and Payment Information to Streamline Checkout
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/b2c_rn_26_2_prefill_checkout_information.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.b2c_rn_26_2_prefill_checkout_information.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 3985a3dccfb834f345466a72071f94107008d33829204d9a94979e854c2f14d6
description: In the createBasket and transferBasket endpoint of the ShopperBaskets API V2, set the new populateCustomerDetails query parameter to true to prefill a shopperʼs information during checkout. This setting invokes the new dw-order.populateCustomerDetails business hook, which populates the basket with the registered shopperʼs default or first saved address and payment information. You can also customize the business hook.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Prefill Shipping and Payment Information to Streamline Checkout

In the createBasket and transferBasket endpoint of the ShopperBaskets API V2, set the new populateCustomerDetails query parameter to true to prefill a shopperʼs information during checkout. This setting invokes the new dw-order.populateCustomerDetails business hook, which populates the basket with the registered shopperʼs default or first saved address and payment information. You can also customize the business hook.

**Where:** This change applies to B2C Commerce.

#### See Also

- [SCAPI Release](https://developer.salesforce.com/docs/commerce/commerce-api/references/about-commerce-api/about.html#scapi-release)
- [createBasket](https://developer.salesforce.com/docs/commerce/commerce-api/references/shopper-baskets-v2?meta=createBasket)
- [transferBasket](https://developer.salesforce.com/docs/commerce/commerce-api/references/shopper-baskets-v2?meta=transferBasket)
- [Shopper Baskets](https://developer.salesforce.com/docs/commerce/commerce-api/references/shopper-baskets-v2?meta=Summary)
- [Customization with Hooks](https://developer.salesforce.com/docs/commerce/commerce-api/guide/extensibility_via_hooks.html)