Skip to main content

CommerceSession

Overview

CommerceSession represents a user's session within the commerce system. It tracks session-specific information such as the cart identifier and locale settings, allowing the application to manage user interactions and preferences effectively.

Attributes

id

type: string

Unique identifier for the commerce session.

cartID

type: string (optional)

Identifier for the user's shopping cart associated with the session.

locale

type: string (optional)

Locale setting for the session, determining language and regional preferences.

[key: string]: any

type: any (optional)

Additional arbitrary properties associated with the session.