Skip to main content

Get Customer Authentication Settings

GET Get Customer Authentication Settings

https://useast.api.elasticpath.com/v2/settings/customer-authentication

Parameters

Headers

NameRequiredTypeDescription
AuthorizationRequiredstringThe Bearer token required to get access to the API.

Request Examples

Curl

curl -X GET https://useast.api.elasticpath.com/v2/settings/customer-authentication \
-H "Authorization: Bearer XXXX" \

JavaScript SDK

const MoltinGateway = require("@moltin/sdk").gateway;
const Moltin = MoltinGateway({
client_id: "X",
});
Moltin.AuthenticationSettings.Get().then((authenticationSettings) => {
// Do something
});
// Where `EPCC` is an authenticated client
await EPCC.AuthenticationSettingsEndpoint.Get();

Response Example

200 OK

{
"data": {
"id": "88888888-4444-4333-8333-111111111111",
"meta": {
"client_id": "customers"
},
"relationships": {
"authentication-realm": {
"data": {
"id": "40086652-2779-45f0-8ea6-ae630dfd13cb",
"links": {
"self": "https://useast.api.elasticpath.com/v2/authentication-realms/40086652-2779-45f0-8ea6-ae630dfd13cb"
},
"duplicate_email_policy": "allowed",
"type": "authentication-realm"
}
}
},
"type": "customer-authentication-settings"
}
}