Update Customer

The UpdateCustomer endpoint enables the partners to update customer personal information such as FirstName, LastName, Email, Address, etc.

Endpoint: /insurances/updateCustomer

Method: POST

curl -i -X POST \
-H "X_API_KEY: [my-api-key]" \
-H "Content-Type: application/json" \
-d '{"FirstName":"John", "LastName":"Doe", "Address1": "20 Some Address", "Address2": "Suite 15", "City": "Sydney", "Region": "NSW", "PostalCode": "2014", "Country":"AU", "Email": "[email protected]", "NewEmail": "[email protected]", "Phone": "+6141012345678", "CustomerAge": 28, "DateOfBirth": "1990-05-20", "AgentReference": "LIUI-HQS7-INS"}' \
https://api-staging.rentalcover.com/insurances/updateCustomer

Request Parameters

X_API_KEY string [varchar(32)] required

API Key, provided by RentalCover.com.

AgentReference string required

Unique identifier for a particular Customer's booking. (example:LIUI-HQS7-INS).

Email string required

Customer email which acts as unique identifier.

FirstName string

Customer first name (if unknown use NULL).

LastName string

Customer first name (if unknown use NULL).

Address1 string

Customer street address line 1.

Address2 string

Customer street address line 2.

City string

Customer suburb.

Country string [varchar(2)]

ISO 3166 two character country code for customer country of residence or IP.

PostalCode string

Customer postcode or zip code.

Phone string

Customer phone.

OtherEmail string

Customer other email.

Region string

The customer's state, region or territory, this is a 2 or 3-letter code. See supported regions.

CustomerAge integer

Customer age.

NewEmail string

In order to change Customer's email, pass the new value in this parameter.

DateOfBirth string [yyyy-mm-dd]

Customer date of birth.

Last updated