The following validations are performed when importing profiles:
The buyer role of a profile, which is the default role, must be present.
If the profile type is
b2b_user
, the shipping and billing addresses are not included. If the profile type isb2b_user
, the parent organization is not included.The
login
field defaults to the profile’s email address.When creating an initial import file, the
email
,locale
,firstName
andlastName
contain valid values.The
receiveEmail
flag is disabled by default.All phone numbers are in the correct format.
All addresses contain a
phoneNumber
,address1
,city
,state
,country
andpostalCode
.The
country
andstate
combination is valid.The site properties have been set. This is the
userSiteProperties
that contains thereceiveEmail
property.
Profile approver role validations during import
When profiles are configured as approvers, specific validations occur:
If a profile is the last active approver in the organization and approval is required, or the organization has at least one order that is either in the pending_approval
or the pending_approval_template
state, the following modifications cannot be made:
The profile approver role cannot be removed from the profile.
The profile’s active status cannot be removed.
The parent organization of a profile cannot be modified.