Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 1.34 KB

NewCustomerSession.md

File metadata and controls

29 lines (16 loc) · 1.34 KB

TalonOne.NewCustomerSession

Properties

Name Type Description Notes
profileId String ID of the customers profile as used within this Talon.One account. May be omitted or set to the empty string if the customer does not yet have a known profile ID. [optional]
coupon String Any coupon code entered. [optional]
referral String Any referral code entered. [optional]
state String Indicates the current state of the session. All sessions must start in the "open" state, after which valid transitions are... 1. open -> closed 2. open -> cancelled 3. closed -> cancelled [optional] [default to 'open']
cartItems [CartItem] Serialized JSON representation. [optional]
identifiers [String] Identifiers for the customer, this can be used for limits on values such as device ID. [optional]
total Number The total sum of the cart in one session. [optional]
attributes Object A key-value map of the sessions attributes. The potentially valid attributes are configured in your accounts developer settings. [optional]

Enum: StateEnum

  • open (value: "open")

  • closed (value: "closed")

  • cancelled (value: "cancelled")