Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 1.92 KB

NewCustomerSession.md

File metadata and controls

18 lines (13 loc) · 1.92 KB

# NewCustomerSession

Properties

Name Type Description Notes
profileId string ID of the customer profile set by your integration layer. Note: If the customer does not yet have a known `profileId`, we recommend you use a guest `profileId`. [optional]
coupon string Any coupon code entered. [optional]
referral string Any referral code entered. [optional]
state string Indicates the current state of the session. Sessions can be created as `open` or `closed`. The state transitions are: 1. `open` → `closed` 2. `open` → `cancelled` 3. `closed` → `cancelled` or `partially_returned` 4. `partially_returned` → `cancelled` For more information, see Customer session states. [optional] [default to 'open']
cartItems \TalonOne\Client\Model\CartItem[] Serialized JSON representation. [optional]
identifiers string[] Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the tutorial. [optional]
total float 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]

[Back to Model list] [Back to API list] [Back to README]