Change Email

Description

The updateMyEmail endpoint is used to update or change the user's email address from the current one.

Request

Endpoint

ui/v1/updateMyEmail

Method

POST

Headers

Content-Type: application/json
ELEMENT DESCRIPTION
UserName Required
oldEmail Required
email Required

cannot be same as oldEmail
reenterEmail Required

should be same as email
lastModifiedUserId Required

specific user id

Body

{
    "id": "",
    "status": {
        "name": "ACTIVE"
    },
    "userName": "Merchant.user",
    "oldEmail": "merchant.userrr@gmail.com",
    "email": "merchant.userr@gmail.com",
    "reenterEmail": "merchant.userr@gmail.com",
    "lastModifiedUserId": "458"
}

Response

{
    "country": "USA",
    "addressLine1": "4500 SE",
    "addressLine2": "Pine Valley Street",
    "addressLine3": null,
    "city": "Port St.Lucie",
    "state": "FL",
    "zipCode": "34952",
    "id": 458,
    "userName": "Merchant.user",
    "password": "$2a$11$lacDkHKXSME5PeZ4tV7ijOHtk1VAVdCWsNX9KrLaxehQmNtKt4Icy",
    "status": {
        "value": "Active",
        "name": "ACTIVE"
    },
    "firstName": "Merchant",
    "lastName": "User",
    "phone": "",
    "mobile": "",
    "fax": "",
    "jobTitle": "Manager",
    "department": "",
    "roles": [{
        "id": 1278,
        "roleType": {
            "value": "Merchant User",
            "name": "MERCHANT_USER"
        },
        "checked": true,
        "lastModifiedUserId": null
    }],
    "userChannelMap": [{
        "id": 356,
        "cardNotPresentChannel": {
            "id": 127,
            "channelName": "Orbital-Cielo",
            "channelStatus": {
                "value": "Active",
                "name": "ACTIVE"
            },
            "channelType": {
                "value": "External",
                "name": "EXTERNAL"
            },
            "createdDateTime": 1590447262000,
            "merchantId": 1,
            "lockedDateTime": null,
            "lockedByUserId": null,
            "createdUserId": 340,
            "lastModifiedUserId": 340,
            "industryType": {
                "value": "eCommerce",
                "name": "ECOMMERCE"
            },
            "allowCashAsPaymentMethodInd": false,
            "allowMoneyOrderAsPaymentMethodInd": false,
            "allowPaperCheckAsPaymentMethodInd": false,
            "allowEStoreCreditAsPaymentMethodInd": false,
            "paymentMethods": [{
                "id": 1130,
                "paymentMethodType": {
                    "value": "Credit Card",
                    "name": "CREDIT_CARD"
                },
                "paymentGateway": {
                    "value": "Cielo (Conecta)",
                    "name": "CIELO_CONECTA"
                },
                "cardBrand": {
                    "value": "Aura",
                    "name": "AURA"
                },
                "cardId": 1307,
                "createdUserId": 340,
                "lastModifiedUserId": 340,
                "createdDateTime": 1590447262000,
                "lastUpdatedDateTime": 1661483568000,
                "position": 64
            }, {
                "id": 2492,
                "paymentMethodType": {
                    "value": "Debit Card",
                    "name": "PIN_LESS_DEBIT_CARD"
                },
                "paymentGateway": {
                    "value": "Chase Paymentech (Orbital)",
                    "name": "CHASE_PAYMENTECH_ORBITAL"
                },
                "cardBrand": {
                    "value": "VISA Debit",
                    "name": "VISA_DEBIT"
                },
                "cardId": 712,
                "createdUserId": 340,
                "lastModifiedUserId": null,
                "createdDateTime": 1667408986000,
                "lastUpdatedDateTime": null,
                "position": 36
            }, {
                "id": 2502,
                "paymentMethodType": {
                    "value": "Gift Card",
                    "name": "GIFT_CARD"
                },
                "paymentGateway": {
                    "value": "Chase Paymentech (Orbital)",
                    "name": "CHASE_PAYMENTECH_ORBITAL"
                },
                "cardBrand": {
                    "value": "Gift Card",
                    "name": "GIFT_CARD"
                },
                "cardId": null,
                "createdUserId": 340,
                "lastModifiedUserId": null,
                "createdDateTime": 1667408986000,
                "lastUpdatedDateTime": null,
                "position": 46
            }],
            "allowDynamicRoutingCapabilityInd": false,
            "secondaryPaymentGateway": null,
            "tertiaryPaymentGateway": null,
            "userCount": null,
            "assignedPaymentMethods": null,
            "message": null,
            "paymentMethodsCount": null,
            "merchantName": null
        },
        "cardPresentChannel": {
            "id": 1,
            "channelName": "Sandpiper Bay Channel",
            "channelStatus": {
                "value": "Active",
                "name": "ACTIVE"
            },
            "channelType": {
                "value": "Internal",
                "name": "INTERNAL"
            },
            "createdDateTime": 1477321991000,
            "merchantId": 1,
            "lockedDateTime": null,
            "lockedByUserId": null,
            "createdUserId": 1,
            "lastModifiedUserId": 857,
            "industryType": {
                "value": "eCommerce",
                "name": "ECOMMERCE"
            },
            "allowCashAsPaymentMethodInd": false,
            "allowMoneyOrderAsPaymentMethodInd": false,
            "allowPaperCheckAsPaymentMethodInd": false,
            "allowEStoreCreditAsPaymentMethodInd": false,
            "paymentMethods": [{
                "id": 233,
                "paymentMethodType": {
                    "value": "Credit Card",
                    "name": "CREDIT_CARD"
                },
                "paymentGateway": {
                    "value": "Chase Paymentech (Orbital)",
                    "name": "CHASE_PAYMENTECH_ORBITAL"
                },
                "cardBrand": {
                    "value": "AMERICAN EXPRESS",
                    "name": "AMEX"
                },
                "cardId": 703,
                "createdUserId": 112,
                "lastModifiedUserId": 857,
                "createdDateTime": 1535409349000,
                "lastUpdatedDateTime": 1545671577000,
                "position": 13
            }, {
                "id": 242,
                "paymentMethodType": {
                    "value": "Debit Card",
                    "name": "PIN_LESS_DEBIT_CARD"
                },
                "paymentGateway": {
                    "value": "Chase Paymentech (Orbital)",
                    "name": "CHASE_PAYMENTECH_ORBITAL"
                },
                "cardBrand": {
                    "value": "VISA Debit",
                    "name": "VISA_DEBIT"
                },
                "cardId": 712,
                "createdUserId": 112,
                "lastModifiedUserId": 857,
                "createdDateTime": 1535409349000,
                "lastUpdatedDateTime": 1545671577000,
                "position": 22
            }, {
                "id": 290,
                "paymentMethodType": {
                    "value": "eCheck (ACH)",
                    "name": "ECHECK"
                },
                "paymentGateway": {
                    "value": "Chase Paymentech (Orbital)",
                    "name": "CHASE_PAYMENTECH_ORBITAL"
                },
                "cardBrand": {
                    "value": "eCheck (ACH)",
                    "name": "ECHECK"
                },
                "cardId": null,
                "createdUserId": 1,
                "lastModifiedUserId": 857,
                "createdDateTime": 1536677090000,
                "lastUpdatedDateTime": 1545671577000,
                "position": 31
            }, {
                "id": 1034,
                "paymentMethodType": {
                    "value": "Gift Card",
                    "name": "GIFT_CARD"
                },
                "paymentGateway": {
                    "value": "Chase Paymentech (Orbital)",
                    "name": "CHASE_PAYMENTECH_ORBITAL"
                },
                "cardBrand": {
                    "value": "Gift Card",
                    "name": "GIFT_CARD"
                },
                "cardId": null,
                "createdUserId": 340,
                "lastModifiedUserId": 857,
                "createdDateTime": 1584369058000,
                "lastUpdatedDateTime": null,
                "position": 40
            }],
            "allowDynamicRoutingCapabilityInd": false,
            "secondaryPaymentGateway": {
                "value": "Authorize.Net",
                "name": "AUTHORIZENET"
            },
            "tertiaryPaymentGateway": {
                "value": "Chase Paymentech (NetConnect - Direct To Tandem)",
                "name": "CHASE_PAYMENTECH_NETCONNECT"
            },
            "userCount": null,
            "assignedPaymentMethods": null,
            "message": null,
            "paymentMethodsCount": null,
            "merchantName": null
        },
        "lastModifiedUserId": null
    }],
    "oldEmail": "merchant.userrr@gmail.com",
    "email": "merchant.userr@gmail.com",
    "locale": "en_US",
    "lastLoginDateTime": 1670261811000,
    "securityQuestionsEnrolledInd": true,
    "createdUserId": 340,
    "lastModifiedUserId": 458,
    "firstLoginDateTime": 1571534443000,
    "maximumAllowedLoginDays": 99999,
    "organizationName": "",
    "forceChangePasswordInd": false,
    "originalUserId": null,
    "loyaltyStatus": {
        "value": "Not Enrolled",
        "name": "NOT_ENROLLED"
    },
    "loyaltyRewardsNumber": null,
    "loyaltyEnrolledDateTime": null,
    "loyaltyTierLevel": {
        "value": "None",
        "name": "NONE"
    },
    "totalOutstandingPoints": null,
    "forgotPasswordGeneratedDateTime": null,
    "numberOfFailedLoginAttempts": 0,
    "numberOfFailedForgotPasswordAttempts": 0,
    "changePasswordDateTime": 1668815750000,
    "lockedDateTime": null,
    "lockedByUserId": null,
    "merchantId": 1,
    "createdDateTime": 1591024280000,
    "forceChangeSecurityQuestionsInd": false,
    "passwordNeverExpiresInd": false,
    "phoneCountryCallingCodeId": 1,
    "mobileCountryCallingCodeId": 1,
    "faxCountryCallingCodeId": 1,
    "acceptTermsOfUseAgreementInd": true,
    "acceptPrivacyPolicyAgreementInd": true,
    "namePrefix": null,
    "nameSuffix": null,
    "middleInitial": "",
    "paymentAction": {
        "value": "Sale",
        "name": "SALE"
    },
    "mobilePhoneCarrierType": {
        "emailDomain": "NUMBER@txt.att.net",
        "value": "AT&T",
        "countryCode": "USA",
        "name": "ATT"
    },
    "transactionCategory": {
        "value": "Card Not Present (CNP)",
        "name": "CARD_NOT_PRESENT"
    },
    "textMessageType": {
        "value": "SMS",
        "name": "SMS"
    },
    "customer": null,
    "message": {
        "code": "68",
        "type": {
            "value": "Success",
            "name": "SUCCESS"
        },
        "include_i_icon": false,
        "description": "Your <strong>Email</strong> has been changed successfully."
    },
    "customerId": null,
    "address": null,
    "fullName": null,
    "minimumPasswordLength": null,
    "minimumLowercaseAlphabets": null,
    "minimumUppercaseAlphabets": null,
    "minimumNumerics": null,
    "minimumSpecialCharacters": null,
    "sessionId": null,
    "uiType": null,
    "customerName": null,
    "customerNumber": null,
    "geolocation": null,
    "currentPassword": null,
    "reEnterPassword": null,
    "reEnterEmail": null,
    "merchantName": null,
    "language": null,
    "merchantCode": null,
    "passwordAlreadyExists": false,
    "currentPasswordValid": false,
    "principal": null,
    "userSession": null,
    "selectedRoles": null
}

Updated As Of 5.3.0.2