Retrieving customer details
Learn how to get a customer's details.
curl --location --request GET 'https://api.digitalriver.com/v1/customers/{customerId}' \
--header 'Authorization: Basic <API_key>' \
...curl --location --request GET 'https://api.digitalriver.com/v1/customers/{ERID}' \
--header 'Authorization: Basic <API_key>' \
--header 'header x-erid-as-cid=true' \
...{
"shopper": {
"id": "1067669580082",
"loginType": "anonymous",
"username": "[email protected]",
"externalReferenceId": "ABC123456789ABC",
"firstName": "Automation",
"lastName": "Tester",
"emailAddress": "[email protected]",
"requestToBeForgotten": {
"offset": {
"totalSeconds": 0,
"id": "Z",
"rules": {
"fixedOffset": true,
"transitions": [],
"transitionRules": []
}
},
"nano": 0,
"year": 2023,
"monthValue": 2,
"dayOfMonth": 27,
"hour": 20,
"minute": 36,
"second": 2,
"month": "FEBRUARY",
"dayOfWeek": "MONDAY",
"dayOfYear": 58
}
}
}Last updated