Edit Customer Address

The fields and formats needed for the EditCustomerAddress conversation are listed in this section.
Brokers have a way to modify a customer's address information with the EditCustomerAddress request. The request is verified, and any inaccuracies are returned for correction.

MethodPOST
url/editcustomeraddress

Request example

{
    "clientCode": "CC",
    "shopCode": "XXXX",
    "EditCustomerAddressRequestType":{
        "BrokerReference": "3607\/009",
        "accountNumber":"910000016970",
        "address": {
            "houseNumber": "2",
            "houseName":"Test Name",
            "streetName": "Avenue Court",
            "addressLineOne":"Test line 1",
            "postCode": "LS17 7RY",
            "postTowm":"LEEDS",
            "county":"yorkshire"

        }
        
    }
}

Response example

{
    "data": {
        "editCustomerAddressResponseType": {
            "responseStatus": 1,
            "responseStatusText": "Success"
        },
        "errors": null
    },
    "validationErrors": [],
    "error": -1,
    "error_description": null,
    "successful": true
}

Fields

EditCustomerAddressRequestType

NodeRequiredTypeMax LengthNotes
BrokerReferenceMandatoryString25This is a unique reference provided by the broker to identify the applicant.
The broker can use this reference to identify and locate the applicant on the BNPP PF system.
AccountNumberMandatoryString15This is the reference BNPP PF has assigned to the applicant as part of the new application process. It is used to locate the account and apply the transaction.
It is mandatory to provide the AccountNumber and BrokerReference for EditCustomerAddressRequest.
AddressMandatoryAddressSee Structure of Address.

Address

NodeRequiredTypeMax LengthNotes
HouseNameOptionalString35This is the applicant’s house name. If it is missing, HouseNumber is required.
HouseNumberOptionalString35This is the applicant’s house number. If it is missing, HouseName is required.
Street NameMandatoryString35This is the applicant’s street name.
TownlandOptionalString50This is the applicant’s townland.
PostTownOptionalString30This is the applicant’s post town.
CountyOptionalString35This is the applicant’s county.
PostCodeMandatoryString10This is the applicant’s postcode.
AddressLineOneOptionalString200This is a concatenated field comprising of the applicant’s HouseNumber, HouseName, StreetName Each one separated by a comma separated delimiter. Three address fields should be present (if either house number or house name is not present it should be blank)
Eg:
17, ,Main Street
,Harmony Villa, Main Street 17,Harmony Villa ,Main Street

EditCustomerAddressResponseType

NodeRequiredTypeMax LengthNotes
ResponseStatusMandatoryEnumThis is the status of a response See ResponseStatus in Option Values