Customer basics

Learn about the customer resource

A customer resource allows you to store a customer's unique identifier, name, phone, email, shipping address, saved payment sources, tax identifiers, tax certificates, and other data.

This resource is especially useful in registered checkouts.

For example, once you set a customer's shipping.address, you can retrieve these values during later checkouts and display them as an available option to the storefront customer. This often helps expedite the checkout process.

Additionally, if customers want to save a reusable payment method for future use, you can attach the created payment source to their record. When that same customer later initiates a registered checkout, you can retrieve a list of applicable payment methods and then use this list to filter the customer's reusable sources before displaying them in your GUI.

You can also use the resource to set up and store a customer's tax-exempt data.

Last updated