---
title: "Get a customer details"
method: GET
path: "/v1/customers/{customerId}"
tags: ["Retrieve Customer (Synchronous API)"]
---

# Get a customer details

`GET /v1/customers/{customerId}`

Retrieves the details of a customer.

## Path parameters

- `customerId` string, required

## Headers

- `x-erid-as-cid` boolean

## Response `200`

Successful response.

- GetCustomerResponse
  - `shopper` object
    - `id` string — The identifier of the customer.
    - `loginType` string — The customer login type. "anonymous" means the user didn't create or log on to their customer account. "authenticated" means the customer logged on to their customer account.
    - `username` string — The user name of the customer.
    - `externalReferenceId` string — The external reference identifier of the customer.
    - `firstName` string — The first name of the customer.
    - `lastName` string — The last name of the customer.
    - `emailAddress` string — The email address of the customer.
    - `requestToBeForgotten` string, date-time — This data is only presented when a request for the removal of personal identifiable information has been made previously.

## Other responses

- `400` — * Bad request.
- `401` — * Please verify your API key and secret (if applicable) is correct.
- `403` — * Customer with provided external reference identifier is not unique on the site.
- `404` — * Customer cannot be found.

---

[API](https://skmtc.net/digitalriver/apis/commerce-api-suite-admin-apis.md) · [All operations](https://skmtc.net/digitalriver/apis/commerce-api-suite-admin-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalriver/commerce-api-suite-admin-apis/revisions/a6efafc1669c/schema)
