getPolicies
get
/ccadmin/v1/merchant/profilePolicies
Get Policies. Retrieves all the shopper policies
Request
There are no request parameters for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : getPolicies_response
Type:
Show Source
object
-
blockCommonPasswords:
boolean
Block the Use of Commonly Chosen Passwords and Weak Passphrases.
-
cannotUsePreviousPasswords:
boolean
Applies the previous password usage constraint.
-
cannotUseUsername:
string
Password must not be the same as their Username.
-
deviceIdentifierDurationDays:
integer
The duration of device identifiers in days.
-
deviceIdentifierDurationDaysMaxVal:
integer
The maximum value of the duration of device identifiers in days.
-
deviceIdentifierDurationDaysMinVal:
integer
The minimum value of the duration of device identifiers in days.
-
enableB2CProfileStatusCheck:
boolean
Indicates whether the B2C user profile should be disabled based on the status of the active field.
-
enableProfileRegistrationEmailCheck:
boolean
Applies new profile registration using email.
-
guestCheckoutEnabled:
boolean
Applies the authorization for anonymous shoppers to sign-in to complete checkout.
-
maxFailedAttempts:
integer
Maximum number of wrong password attempt allowed.
-
minPasswordLength:
integer
Minimum length of the password.
-
minPasswordLengthMaxVal:
integer
Maximum value of minimum length of the password.
-
minPasswordLengthMinVal:
integer
Minimum value of minimum length of the password.
-
multiFactorAuthenticationEnabled:
boolean
Whether the known device multi-factor authentication is enabled.
-
numberOfPreviousPasswords:
integer
password should not have been used as previous N passwords for the given shopper user.
-
numberOfPreviousPasswordsMaxVal:
integer
Maximum number of previous passwords to be stored for the given shopper user.
-
numberOfPreviousPasswordsMinVal:
integer
Minimum number of previous passwords to be stored for the given shopper user.
-
passwordExpirationEnabled:
boolean
Applies the password expiration constraint.
-
passwordExpirationLength:
integer
number of days after which the current password of the shopper will automatically expire.
-
passwordExpirationLengthMinVal:
integer
minimum number of days after which the current password of the shopper will automatically expire..
-
selfRegistrationEnabled:
boolean
Set the flag to true if Self Registration is required.
-
sessionTimeoutEnabled:
boolean
Applies the session timeout length constraint.
-
sessionTimeoutLength:
integer
Timeout duration for all shopper sessions.
-
sessionTimeoutLengthMaxVal:
integer
Maximum timeout length for the user session.
-
sessionTimeoutLengthMinVal:
integer
Minimum timeout length for the user session.
-
unlockInMinutes:
integer
The number of minutes after which account will be unlocked.
-
useCase:
boolean
Applies the usage of capital letters in user password..
-
useMinPasswordLength:
boolean
Applies the minimum password length constraint.
-
useNumber:
boolean
Password must include a number.
-
userAccountLockEnabled:
boolean
Whether user account locking on multiple failed attempts is enabled or not.
-
useSymbol:
boolean
Applies the usage of symbol in user password.
-
verificationCodeDurationMinutes:
integer
The duration of verification codes in minutes.
-
verificationCodeDurationMinutesMaxVal:
integer
The maximum value of the duration of verification codes in minutes.
-
verificationCodeDurationMinutesMinVal:
integer
The minimum value of the duration of verification codes in minutes.
Example Response (application/json)
{
"guestCheckoutEnabled":true,
"numberOfPreviousPasswords":3,
"verificationCodeDurationMinutesMinVal":1,
"userAccountLockEnabled":false,
"numberOfPreviousPasswordsMinVal":1,
"passwordExpirationEnabled":false,
"passwordExpirationLengthMinVal":1,
"passwordExpirationLength":90,
"selfRegistrationEnabled":false,
"deviceIdentifierDurationDays":90,
"numberOfPreviousPasswordsMaxVal":6,
"multiFactorAuthenticationEnabled":false,
"enableB2CProfileStatusCheck":false,
"enableProfileRegistrationEmailCheck":true,
"maxFailedAttempts":6,
"blockCommonPasswords":true,
"sessionTimeoutLengthMinVal":1,
"deviceIdentifierDurationDaysMaxVal":365,
"sessionTimeoutLengthMaxVal":120,
"deviceIdentifierDurationDaysMinVal":1,
"verificationCodeDurationMinutesMaxVal":1440,
"sessionTimeoutLength":15,
"cannotUsePreviousPasswords":false,
"unlockInMinutes":60,
"verificationCodeDurationMinutes":10,
"minPasswordLengthMinVal":4,
"sessionTimeoutEnabled":true,
"minPasswordLengthMaxVal":64,
"useNumber":true,
"useCase":false,
"cannotUseUsername":true,
"useMinPasswordLength":true,
"minPasswordLength":8,
"useSymbol":false
}
Default Response
The error response
Root Schema : errorModel
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
errors:
array errors
An optional list of errors if multiple errors were encountered
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code
-
type:
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code