# Customer basics

A [customer resource](https://docs.digitalriver.com/digital-river-api-reference/2021-12-13/customers) 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](/digital-river-api/integration-options/checkouts/creating-checkouts/using-the-checkout-identifier.md#registered-checkouts-or-invoices).

For example, once you set a customer's `shipping.address`, you can retrieve these values during later [checkouts](/digital-river-api/integration-options/checkouts/creating-checkouts.md) 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](/digital-river-api/payments/supported-payment-methods.md) for future use, you can [attach the created payment source to their record](/digital-river-api/payments/payment-sources/using-the-source-identifier.md#attaching-sources-to-customers). When that same customer later initiates a [registered checkout](/digital-river-api/integration-options/checkouts/creating-checkouts/using-the-checkout-identifier.md#registered-checkouts-or-invoices), you can [retrieve a list of applicable payment methods](/digital-river-api/developer-resources/reference/digitalriver-object.md#retrieving-available-payment-methods) and then use this list to filter the customer's [reusable sources](/digital-river-api/payments/payment-sources.md#reusable-or-single-use) before displaying them in your GUI.

You can also use the resource to [set up and store a customer's tax-exempt data](/digital-river-api/customer-management/setting-tax-related-attributes.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.digitalriver.com/digital-river-api/customer-management/customers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
