Session Context

Session context for a shopper using a Commerce store.
Property Name Type Description Filter Group and Version Available Version
accountId String Context user's account ID.

This field is included in the response only for authenticated users and doesn't apply to guest users.

Note

Small, 57.0 57.0
accountName String Context user's account name. Small, 57.0 57.0
buyerGroups Buyer Group[] List of buyer groups associated with the context. Small, 58.0 58.0
guestUser Boolean Indicates if the session context is for a guest user (true) or not (false). Small, 54.0 54.0
profile Commerce User Profile User's profile data. Small, 62.0 62.0
userId String ID of the user. Small, 54.0 54.0
userName String Full name of the user. Small, 54.0 54.0—61.0