When you use the Add/Update Customer APIs or the Event Notifications on Firecart, you often need to map your different customer fields correctly to update customer records your Firecart account.


The table below lists what variables to use in order to update specific contact fields on your account.


Field Name

Field Key (to use in API)

Email Address

email

Name

name

Mobile Number

mobileNumber

Landline Number

landLineNumber

Flat Number

flatNumber

Building Name

buildingName

Road Name

roadName

Area Name

areaName

City

city

Zip Code

pincode

State

stateName

Gender

gender

Date of Birth

dateOfBirth

Marital Status

maritalStatus

Anniversary Date

anniversaryDate

Spouse Name

spouseName

Spouse Birth Date

spouseBirthDate


Note: 

1. If you have created custom fields on your account, you will need to use the exact same name as the key in the API.

2. If the custom field is made up of more than one word & has spaces in it (eg: Company Name), then the key will be Company_Name. Essentially, the space in the custom field is replaced by an underscore sign.