Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 1.89 KB

NewCustomerSession.md

File metadata and controls

17 lines (13 loc) · 1.89 KB

NewCustomerSession

Properties

Name Type Description Notes
profile_id str 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 str Any coupon code entered. [optional]
referral str Any referral code entered. [optional]
state str 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']
cart_items list[CartItem] Serialized JSON representation. [optional]
identifiers list[str] 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]