Customer

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

AttributeTypeRequiredDescription
firstNamestringYCustomer first name
lastNamestringYCustomer surname
emailstringYCustomer email address
addressstringY

Customer address

e.g. 315/123, Success Blvd

citystringYCustomer suburb/city
postcodestringYCustomer postcode
statestringYCustomer state
countrystringY

Customer 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'
  }

Did this page help you?