Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 1.93 KB

NewCustomerSession.md

File metadata and controls

16 lines (13 loc) · 1.93 KB

TalonOne.Model.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 StateEnum.Open]
CartItems List<CartItem> Serialized JSON representation. [optional]
Identifiers List<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 decimal 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]