latestOpenAPI 3.0.02026-08-1056429755.6 KB

a6efafc1669c

Retrieve Customer (Synchronous API)

Get a customer details

Retrieves the details of a customer.

get/v1/customers/{customerId}

Path parameters

customerIdstring required

The customer identifier of either an authenticated customer or an anonymous customer

Headers

x-erid-as-cidboolean

Set to true if you want to use the external reference identifier (ERID) in the path instead of the customer identifier (customerId).

Response

Successful response.

Example response

{
  "shopper": {
    "id": "1067669580082",
    "loginType": "anonymous",
    "username": "jswanson@digitalriver.com",
    "externalReferenceId": "ABC123456789ABC",
    "firstName": "Automation",
    "lastName": "Tester",
    "emailAddress": "jswanson@digitalriver.com"
  }
}