Poq.SDK.Node

Home > @poq/sdk-sfcc > Customer

Customer class

Document representing a customer.

Signature:

export declare class Customer extends BaseModel<Customer> 

Extends: BaseModel<Customer

Constructors

Constructor Modifiers Description
(constructor)(params)   Constructs a new instance of the Customer class

Properties

Property Modifiers Type Description
addresses?   Array<CustomerAddress> (Optional) The customers addresses.
authType?   CustomerAuthTypeEnum (Optional) The customers authorization type (indicates if the customer is a guest or a registered customer).
birthday?   string (Optional) The customers birthday.
cFamilyStatus?   string (Optional)
companyName?   string (Optional) The customers company name.
creationDate?   string (Optional) Returns the value of attribute ‘creationDate.
customerId?   string (Optional) The customers number (id). Both registered and guest customers have a customer id.
customerNo?   string (Optional) The customers number (id). Only a registered customer has a customer number.
email?   string (Optional) The customers email address.
enabled?   boolean (Optional) A flag indicating whether this customer is is enabled and can log in.
fax?   string (Optional) The customers fax number. The length is restricted to 32 characters.
firstName?   string (Optional) The customers first name.
gender?   CustomerGenderEnum (Optional) The customers gender.
hashedLogin?   string (Optional) The customers hashed LoginId which is used for activity tracking for logged in customers in conjunction with visitId. This field is READ-ONLY
jobTitle?   string (Optional) The customers job title.
lastLoginTime?   string (Optional) The time when the customer last logged in.
lastModified?   string (Optional) Returns the value of attribute ‘lastModified.
lastName?   string (Optional) The customers last name.
lastVisitTime?   string (Optional) The time when the customer last visited.
login?   string (Optional) The customers login.
note?   string (Optional) The customers note.
paymentInstruments?   Array<CustomerPaymentInstrument> (Optional) The customers payment instruments.
phoneBusiness?   string (Optional) The customers business phone number.
phoneHome?   string (Optional) The customers home phone number.
phoneMobile?   string (Optional) The customers mobile phone number.
preferredLocale?   string (Optional) The customers preferred locale.
previousLoginTime?   string (Optional) The time when the customer logged in previously.
previousVisitTime?   string (Optional) The time when the customer last visited the store.
salutation?   string (Optional) The salutation to use for the customer.
secondName?   string (Optional) The customers second name.
suffix?   string (Optional) The customers suffix (for example, “Jr.” or “Sr.).
title?   string (Optional) The customers title (for example, “Mrs” or “Mr).
visitId?   string (Optional) The customers visitId. This field is READ-ONLY