The Customer object holds details about a customer and is used in the following methods:

AttributeTypeRequiredDescription
firstNamestringYCustomer first name
lastNamestringYCustomer surname
emailstringYCustomer email address
addressstringYCustomer address

e.g. 315/123, Success Blvd
citystringYCustomer suburb/city
postcodestringYCustomer postcode
statestringYCustomer state
countrystringYCustomer country.

ISO Alpha 2 country codes. e.g. AU, GB, NZ
{
    firstName: 'Captain',
    lastName: 'America',
    email: '[email protected]',
    address: '123 Australia Blvd.',
    city: 'Sydney',
    postcode: '2000',
    state: 'NSW',
    country: 'AU'
  }